compute_validity.Rd
Uses the polycor
package to compute the correlations
Pulls the baseline data, checks the variable type, selects
the correct correlation type
compute_validity(dat, PRO.score = NULL, time.var = NULL, val.var = NULL)
dat | dataframe with values |
---|---|
PRO.score | specify the COA/PRO score you want to compute ICC of.
Can pass multiple scores, e.g. |
time.var | the time variable, should be an ordered factor |
val.var | specify the validator variables (reference measures)
Can pass a character string, e.g., |
returns a dataframe with the correlations