predict_slim: Prediction from new dataset

Description Usage Arguments Details Value Note

View source: R/predict_slim.R

Description

Predictions from a linear model.

Usage

1
predict_slim(object, newdata)

Arguments

object

of clasee lm or biglm.

newdata

data frame on which predictions should be made.

Details

A slim implementation of predictions from a linear model on a new dataset. This is made in replacement of predict and predict.bigglm, which do not work on biglm-objects or does not include a possible offset, respectively.

Value

vector with predictions.

Note

The implementation uses biglm:::coef.biglm as this function is not exported from the biglm-package.


bomarkussen/probit documentation built on April 3, 2021, 7:38 p.m.