predict.gradient: Predict

Description Usage Arguments Value

View source: R/gradient_methods.R

Description

Predict

Usage

1
2
## S3 method for class 'gradient'
predict(object, newdata, ...)

Arguments

object

object of gradient class

newdata

An optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used.

...

further arguments passed to or from other methods.

Value

vector of predictions or a matrix of predictions


vincnardelli/gradient documentation built on July 30, 2020, 9:57 a.m.