sigma_corr_function: Generating the longitudinal correlation matrix for repeated...

Description Usage Arguments Value

View source: R/mvrnorm_sim.R

Description

Generating the longitudinal correlation matrix for repeated observations

Usage

1
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


microbiomeDASim documentation built on Nov. 8, 2020, 10:58 p.m.