elnet: Performs elnet

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Performs elnet

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
elnet(
  lambda1,
  lambda2,
  lambda_ct,
  diag,
  X,
  r,
  adj,
  thr,
  x,
  yhat,
  trace,
  maxiter
)

Arguments

lambda1

lambda

lambda2

shrinkage parameter s

lambda_ct

cross trait penalty

diag

diag(X'X)

X

genotype Matrix

r

correlations

adj

adjacency coefficients

thr

threshold

x

beta coef

yhat

A vector, X*x

trace

if >1 displays the current iteration

maxiter

maximal number of iterations

Value

conv


yingxi-kaylee/ssCTPR documentation built on Nov. 14, 2021, 5:24 a.m.