predict.dynpan_lars: time.table LASSO prediction

Description Usage Arguments

View source: R/linreg_estimators.R

Description

Use LASSO fit to predict values for new data

Usage

1
2
3
## S3 method for class 'dynpan_lars'
predict(dp, newdata = NULL, ids = NULL,
  lambda = NULL, fraction = NULL, keep.all.cols = FALSE)

Arguments

dp

result of time_table_lars call

newdata

time.table containing (at least) the columns used when fitting dp

ids

see coef.dynpan_lars

lambda

see coef.dynpan_lars

fraction

see coef.dynpan_lars

keep.all.cols

whether results should contain copies of all columns from dp


rossklin/dynpan documentation built on May 27, 2019, 11:39 p.m.