get.coef: 'get.coef': Get coefficients at each 'lambda'

Description Usage Arguments Value

View source: R/utils.R

Description

Get the coefficients and confidence intervals from regression at each lambda as well as the null bound in SGPVs

Usage

1
get.coef(xs, ys, lambda, lasso, family)

Arguments

xs

Standardized design matrix

ys

Standardized outcome

lambda

lambda in the lasso

lasso

An glmnet object

family

A description of the error distribution and link function to be used in the model. It can take the value of \code{gaussian}, \code{binomial}, \code{poisson}, and \code{cox}.

Value

A vector that contains the point estimates, confidence intervals and the null bound


zuoyi93/ProSGPV documentation built on Aug. 31, 2021, 1:22 a.m.