pred.ridgereg: pred S3 method

Description Usage Arguments Value

View source: R/pred_ridgereg.R

Description

S3 method for objects of class ridgereg providing the fitted values of the linear regression

Usage

1
2
## S3 method for class 'ridgereg'
pred(object, data = NULL, ...)

Arguments

object

An object of class ridgereg

data

A dataframe for which the values should be predicted. If not provided, the training data for the object is used.

...

other arguments

Value

vector containing fitted values


Marbr987/bonus_lab documentation built on Dec. 17, 2021, 2:19 a.m.