AR1 {hscovar} | R Documentation |
Correlation matrix of an autoregressive model of order 1
Description
An order-1 autoregressive correlation matrix is set up which is used for the examples on power and sample size calculation.
Usage
AR1(p, rho)
Arguments
p |
dimension |
rho |
correlation |
Value
(p x p) matrix
Examples
AR1(10, 0.2)
[Package hscovar version 0.4.2 Index]