powered by
"compCL"
print the number of nonzero coefficients for the compositional varaibles at each step along the compCL path.
# S3 method for compCL print(x, digits = max(3, getOption("digits") - 3), ...)
fitted "compCL" object.
significant digits in printout.
not used.
a two-column matrix; the first column DF gives the number of nonzero coefficients for the compositional predictors and the second column Lam gives the corresponding lam values.
DF
Lam
lam
Lin, W., Shi, P., Peng, R. and Li, H. (2014) Variable selection in regression with compositional covariates, https://academic.oup.com/biomet/article/101/4/785/1775476. Biometrika 101 785-979.
compCL and coef, predict and plot methods for "compCL" object.
compCL
coef
predict
plot
# NOT RUN { Comp_data = comp_Model(n = 50, p = 30) Comp_fit = compCL(y = Comp_data$y, Z = Comp_data$X.comp, Zc = Comp_data$Zc, intercept = Comp_data$intercept) print(Comp_fit) # }
Run the code above in your browser using DataLab