Description Usage Arguments Details Value Examples
Calculate the subject-level (ICC) correlations among time points
1 2 3 4 | get_correlation_matrix(object)
## S3 method for class 'plcp_multi'
get_correlation_matrix(object)
|
object |
An object created by |
The correlation between time point T_i and T_{i+1} within the same subject is also called the intraclass correlation (ICC) at level two. If the random slopes are non-zero this ICC change over time.
A n1
x n1
matrix
with the marginal subject-level
correlations between time points.
1 2 3 4 5 6 7 8 9 | paras <- study_parameters(n1 = 11,
n2 = 10,
n3 = 3,
T_end = 10,
icc_pre_subject = 0.5,
icc_pre_cluster = 0,
icc_slope = 0.05,
var_ratio = 0.03)
get_correlation_matrix(paras)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.