glcca_drcca.linear: Generalized Longitudial canonical correlation analysis

View source: R/glcca_drcca.linear.R

glcca_drcca.linearR Documentation

Generalized Longitudial canonical correlation analysis

Description

GLCCA handles more than three sets of data Current version is implemented for only the linear trajectory.

Usage

glcca_drcca.linear(
  X,
  varthresh = 0.95,
  projectthresh = 1,
  nboot = 50,
  verbose = FALSE,
  reg = 0,
  nfold = 3
)

Arguments

X

object for input list(x, time, J, I, visit)

projectthresh

(default=1) threshold for the dimension reduction projection in lfpca.

verbose

(default=FALSE) print all details

varthreshold

(default=0.95) threshold to detemined the number of components of lpcs.

timeadjust

(defult=FALSE)

method

(defualt='Wilks') test statistic to be used. "Wilks","Hotelling", "Pillai", or "Roy".

Value

ccor

xcv_x0: Longitudinal Canonical vector for the intercept for x

xcv_x1: Longitudinal Canonical vector for the slope for x

xcv_y0: Longitudinal Canonical vector for the intercept for y

xcv_y1: Longitudinal Canonical vector for the slope for y

Examples

library(lcca)

seonjoo/lcca documentation built on April 29, 2024, 12:03 a.m.