powered by
An order-1 autoregressive correlation matrix is set up which is used for the examples on power and sample size calculation.
AR1(p, rho)
dimension
correlation
(p x p) matrix
# NOT RUN { AR1(10, 0.2) # }
Run the code above in your browser using DataLab