get.con.cor: Compute the conventional Pearson's correlation and...

Description Usage Arguments Value Examples

View source: R/getconcor.R

Description

For each subject/row, we first obtain the average of all time points and then compute the conventional Pearson's correlation coefficient and concordance correlation coefficeint

Usage

1

Arguments

X:

matrix with columns being time points and rows being subjects

Y:

matrix with columns being time points and rows being subjects, same size as X

Value

rho: conventional Pearson's correlation coefficient

ccc: conventional concordance correlation coefficient

Examples

1
2
3
x = matrix(rnorm(12), 3, 4)
y = matrix(rnorm(12), 3, 4)
get.con.cor(x,y)

TwoLittle/fccc documentation built on June 13, 2020, 10:18 a.m.