sigma_corr_function {microbiomeDASim}R Documentation

Generating the longitudinal correlation matrix for repeated observations

Description

Generating the longitudinal correlation matrix for repeated observations

Usage

sigma_corr_function(obs, sigma, corr_str, rho)

Arguments

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

Value

Return the covariance matrix V as a list


[Package microbiomeDASim version 1.0.0 Index]