get.csuv.unique.fit: Helper function, please do not use it

Description Usage Arguments Value

View source: R/csuv.r

Description

Helper function, please do not use it

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
get.csuv.unique.fit(
  X,
  Y,
  intercept,
  method.names,
  B,
  fit.percent,
  current.fit = NULL,
  num.core = 1
)

Arguments

X

covariates (n times p matrix, n: number of entries, p: number of covariates)

Y

response (vector with n entries)

intercept

TRUE to fit the data with an intercept, FALSE to fit the data without an intercept

method.names

vector of method names to be used in CSUV. Choose among "lasso", "elastic", "relaxo", "mcp" and "scad". Default is to use all methods listed above

B

number of subsampling. Default is 100

fit.percent

percentage of observations used in fitting in CSUV

current.fit

(optional) all fitted models

num.core

number of cores to use. Default is 1 (i.e. no parallel running)

Value

a list of current fit


CSUV documentation built on Oct. 23, 2020, 5:49 p.m.