sigma_corr_function {microbiomeDASim} | R Documentation |
Generating the longitudinal correlation matrix for repeated observations
sigma_corr_function(obs, sigma, corr_str, rho)
obs |
number of repeated observations per individual |
sigma |
the standard deviation parameter for the covariance matrix |
corr_str |
the type of correlatin structure chosen. options currently available include "ar1", "compound", and "ind" |
rho |
the correlation coefficient for non-independent structures |
Return the covariance matrix V as a list