Description Usage Arguments Value Examples

View source: R/construct_CovMat.R

constructs the covariance matrix for multiple measurements of one cluster

1 | ```
construct_CovBlk(timepoints, sigma, tau)
``` |

`timepoints` |
numeric (scalar), number of timeperiods, Cl.e. dimension of blocks in covariance matrix |

`sigma` |
numeric (scalar or vector of length timepoints), residual error (usually of cluster means) |

`tau` |
numeric (scalar or vector of length timepoints), standard deviation of random intercepts, A vector of length *timepoints* is interpreted as a variing sd over time (also used for binomial outcomes). |

a block of a covariance matrix

1 | ```
construct_CovBlk(timepoints=5, sigma=2, tau=2)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.