autocorr.mat | R Documentation |
Create auto-correlation matrix
autocorr.mat(p, rho)
p |
dimension of matrix |
rho |
autocorrelation value |
auto-matrix of size p with parameter rho
# Create 4x4 matrix with correlation between adjacent enties is 0.9
autocorr.mat(4, .9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.