Usage
fccaXXcv(xL1,xL2,method=c('basis','gq','raw'),centre = TRUE,tol=1e-7, Control1=list(),Control2=list(),alpha=10^seq(-6,1,len=10))
Arguments
xL1
The mixed scalar and functional variables. For any number and any type of variables, xL1
should be a list. Each item of the list should correspond to one variable.
method
The representative methods for the functional coefficients. The method could be one of the 'basis', 'gq' and 'raw' for basis function expression, Gaussian quadrature and representative data points, respectively.
centre
Logic argument. Default is TRUE
, which means the variables do need to be centred.
tol
The threshold to decide whether the correlation is to small to be non-zero.
Control1
List of elements that controls the details of the functional coefficients for xL1
. See details for more information. See the argument control
in function fccaGen
for details.
Control2
Similar to Control1
.
alpha
Candidate tuning parameters for the smoothness of the functional coefficients.