Package index
-
glmnet()relax.glmnet() - fit a GLM with lasso or elasticnet regularization
-
cv.glmnet() - Cross-validation for glmnet
-
glmnet.control() - Internal glmnet algorithm parameters
-
glmnet.path() - Fit a GLM with elastic net regularization for a path of lambda values
-
glmnet.fit() - Fit a GLM with elastic net regularization for a single value of lambda
-
elnet.fit() - Solve weighted least squares (WLS) problem for a single lambda value
-
bigGlm() - fit a glm with all the options in
glmnet
-
coef(<glmnet>)predict(<glmnet>)predict(<relaxed>) - Extract coefficients from a glmnet object
-
predict(<cv.glmnet>)predict(<cv.relaxed>) - make predictions from a "cv.glmnet" object.
-
predict(<glmnetfit>) - Get predictions from a
glmnetfitfit object
-
plot(<glmnet>)plot(<mrelnet>)plot(<multnet>)plot(<relaxed>) - plot coefficients from a "glmnet" object
-
plot(<cv.glmnet>)plot(<cv.relaxed>) - plot the cross-validation curve produced by cv.glmnet
-
print(<glmnet>) - print a glmnet object
-
print(<cv.glmnet>) - print a cross-validated glmnet object
-
assess.glmnet()confusion.glmnet()roc.glmnet() - assess performance of a 'glmnet' object using test data.
-
deviance(<glmnet>) - Extract the deviance from a glmnet object
-
Cindex() - compute C index for a Cox model
-
glmnet.measures() - Display the names of the measures used in CV for different "glmnet" families
-
coxnet.deviance() - Compute deviance for Cox model
-
coxgrad() - Compute gradient for Cox model
-
coxnet() - Cox regression via penalized maximum likelihood using C++ engine
-
survfit(<coxnet>) - Compute a survival curve from a coxnet object
-
survfit(<cv.glmnet>) - Compute a survival curve from a cv.glmnet object
-
response.coxnet() - Make response for coxnet
-
stratifySurv() - Add strata to a Surv object
-
mycoxph() - Helper function to fit coxph model for survfit.coxnet
-
mycoxpred() - Helper function to amend ... for new data in survfit.coxnet
-
makeX() - convert a data frame to a data matrix with one-hot encoding
-
na.replace() - Replace the missing entries in a matrix columnwise with the entries in a supplied vector
-
rmult() - Generate multinomial samples from a probability matrix
-
weighted_mean_sd() - Helper function to compute weighted mean and standard deviation
-
get_eta() - Helper function to get etas (linear predictions)
-
get_start() - Get null deviance, starting mu and lambda max
-
glmnet-package - Elastic net model paths for some generalized linear models
-
glmnet-internalaucassess.coxnetauc.matcvtypecvstatscvcomputegetcoefgetcoef.multinomialfix.lamerror.barsgetminelnetmrelnetlognetfishnetcoefnormcv.lognetcv.elnetcv.multnetcv.mrelnetcv.coxnetcv.fishnetcv.glmnet.rawcv.relaxed.rawblend.relaxedcheckgamma.relaxbuildPredmatbuildPredmat.mrelnetlistbuildPredmat.multnetlistbuildPredmat.lognetlistbuildPredmat.arraybuildPredmat.coxnetlistbuildPredmat.defaultlambda.interpnonzeroCoefglmnet_softmaxgetOptcv.glmnetgetOptcv.relaxedjerrjerr.elnetjerr.lognetjerr.fishnetjerr.coxnetjerr.mrelnetplotCoefzeromatna.meancheck_dotsna_sparse_fixprepareX - Internal glmnet functions
-
dev_function() - Elastic net deviance value
-
obj_function() - Elastic net objective function value
-
pen_function() - Elastic net penalty value
-
fid() - Helper function for Cox deviance and gradient
-
BinomialExample - Synthetic dataset with binary response
-
CoxExample - Synthetic dataset with right-censored survival response
-
MultiGaussianExample - Synthetic dataset with multiple Gaussian responses
-
MultinomialExample - Synthetic dataset with multinomial response
-
PoissonExample - Synthetic dataset with count response
-
QuickStartExample - Synthetic dataset with Gaussian response
-
SparseExample - Synthetic dataset with sparse design matrix