csgl: Compositional sparse group lasso

Description Usage Arguments Value

Description

Fits CSGL for a sequence of lambda values.

Usage

1
2
csgl(Z, y, groups, mu = 1, theta = 0.95, lam.seq = NULL, nlam = 25,
  min.frac = 0.1, thresh = 1e-07, maxit = 10000, std = T, verbose = F)

Arguments

Z

Matrix of log OTU proportions

y

Outcome vector

groups

Vector indicating group membership of each OTU

mu

Augmented Lagrangian parameter

theta

Defines convex combination between L1 and L2 penalties (theta = 1 is L1 only, theta = 0 is L2 only)

lam.seq

Sequence of lambda values to consider

nlam

Number of lambda values to try

min.frac

Minimum value of the penalty parameter, as a fraction of the maximum value

thresh

Threshold for convergence

maxit

Maximum number of iterations

std

Logical flag for variable standardization before fitting the model

verbose

Logical flag for printing updates during model fitting

Value

List with components

int

Vector of intercepts, one per lambda

beta

Matrix of coefficients, one column per lambda

lambdas

Sequence of lambda values


aplantin/CSGL documentation built on May 21, 2019, 12:08 p.m.