Learn R Programming

Compack (version 0.1.0)

Regression with Compositional Covariates

Description

Regression methodologies with compositional covariates, including (1) sparse log-contrast regression with compositional covariates proposed by Lin et al. (2014) , and (2) sparse log-contrast regression with functional compositional predictors proposed by Sun et al. (2020) .

Copy Link

Version

Install

install.packages('Compack')

Monthly Downloads

28

Version

0.1.0

License

GPL (>= 3)

Maintainer

Zhe Sun

Last Published

May 11th, 2020

Functions in Compack (0.1.0)

GIC.FuncompCGL

Compute information crieteria for the FuncompCGL model.
coef.cv.compCL

Extract estimated coefficients from a "cv.compCL" object.
coef.cv.FuncompCGL

Extract estiamted coefficients from a "cv.FuncompCGL" object.
plot.GIC.compCL

Plot the GIC curve produced by "GIC.compCL" object.
predict.FuncompCGL

Make prediction from a "FuncompCGL" object.
plot.compCL

Plot solution paths from a "compCL" object.
predict.GIC.FuncompCGL

Make predictions based on a "GIC.FuncompCGL" object.
coef.FuncompCGL

Extract estimated coefficients from a "FuncompCGL" object.
predict.GIC.compCL

Make predictions based on a "GIC.compCL" object.
predict.compCL

Make predictions based on a "compCL" object.
coef.GIC.FuncompCGL

Extract model estimated coefficients from a "GIC.FuncompCGL" object.
compCL

Fit regularization path for log-contrast model of compositional data with lasso penalty.
comp_Model

Simulation for log-contrast model.
print.FuncompCGL

Print a "FuncompCGL" object.
coef.compCL

extracts model estimated coefficients from a "compCL" object.
plot.FuncompCGL

Plot solution paths from a "FuncompCGL" object.
plot.GIC.FuncompCGL

Plot the GIC curve produced by "GIC.FuncompCGL" object.
coef.GIC.compCL

Extracts estimated coefficients from a "GIC.compCL" object.
cglasso

Fit a linearly constrained linear regression model with group lasso regularization.
print.compCL

Print a "compCL" object.
predict.cv.compCL

Make predictions based on a "cv.compCL" object.
predict.cv.FuncompCGL

Make predictions based on a "cv.FuncompCGL" object.
classo

Fit a linearly constrained linear regression model with lasso regularization.
cv.FuncompCGL

Cross-validation for FuncompCGL.
cv.compCL

Cross-validation for compCL.
plot.cv.FuncompCGL

Plot the cross-validation curve produced by "cv.FuncompCGL".
plot.cv.compCL

Plot the cross-validation curve produced by "cv.compCL" object.
Fcomp_Model

Simulation for functional composition data.
FuncompCGL

Fit regularization paths of sparse log-contrast regression with functional compositional predictors.
GIC.compCL

Compute information crieteria for the compCL model.