projcore: Calculate the Projected matrix given factors

Description Usage Arguments Value See Also

View source: R/projcore.R

Description

projcore calculate the projected matrix given factors.

Usage

1
2
3
4
5
6
7
8
projcore(
  x,
  b,
  method = c("lasso", "sam", "ols"),
  one.SE = TRUE,
  refit = TRUE,
  randSeed = 0
)

Arguments

x

first vector

b

factor matrix

method

projection method. Default = 'lasso'.

one.SE

whether to use the 1se rule for glmnet. Default = TRUE.

refit

whether to refit the selected model. Default = TRUE.

randSeed

the random seed for the program. Default = 0.

Value

eps

the residual matrix after projection

See Also

greg, roc, pgraph


pgraph documentation built on Jan. 21, 2020, 5:07 p.m.

Related to projcore in pgraph...