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(t, sigma, corr_str, rho)

Arguments

t

timepoints for repeated observations

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.6.0 Index]