elnetR: Elastic net using summary statistics

Description Usage

View source: R/elnetR.R

Description

Coordinate descent algorithm to solve: 0.5 x'X'Xx - x'b + lambda1 ||x||_1 + 0.5 lambda2 ||x||_2^2 Function to get elastic net solutions given X, a reference panel, and b, regression coefficients

Usage

1
2
elnetR(lambda1, lambda2 = 0, X, b, thr = 1e-04, trace = 0,
  maxiter = 10000, blocks = NULL, x = NULL)

tshmak/lassosum documentation built on Sept. 24, 2020, 9:41 a.m.