Standard classes of correlation structures (corStruct) available from the nlme package
and re-exported by pwr4exp for convenience when specifying correlation structures in mkdesign.
All arguments are identical to the corresponding nlme functions. For more details on the original implementations, see nlme::corClasses.
Note: In the original nlme::corAR1, nlme::corARMA, and nlme::corSymm functions,
the covariate t in the correlation formula ~ t or ~ t | g must be an integer class. In pwr4exp,
the covariate can also be a factor class, which is then converted to an integer internally for sorting purposes.
The class of the covariate variable in the model formula, if present, will not be converted. For example, a time covariate
can be fitted as a factor in the model formula, whereas it is converted to an integer in the correlation formula temporarily for matrix sorting.
Details
Available standard classes:
corAR1autoregressive process of order 1.
corARMAautoregressive moving average process, with arbitrary orders for the autoregressive and moving average components.
corCAR1continuous AR(1)
corCompSymmcompound symmetry structure corresponding to a constant correlation.
corExpexponential spatial correlation.
corGausGaussian spatial correlation.
corLinlinear spatial correlation.
corRatioRational quadratics spatial correlation.
corSpherspherical spatial correlation.
corSymmgeneral correlation matrix, with no additional structure.