bootr.predictions: Get predictions from a model

Description Usage Arguments Examples

Description

This function allows you to generate predictions from a model using the observed values approach.

Usage

1
2
bootr.predictions(new_data, model, full_data, func = predict,
  weighted_mean = NULL, .labels = T, ...)

Arguments

new_data

A dataframe that list the values to produce predictions at.

model

The model from which predictions are produced.

full_data

The full dataset used to run the model.

func

The function to produce predictions (defaults to "predict")

weighted_mean

A vector of observation weights (defaults to "NULL")

Examples

1

jacobaro/bootr documentation built on May 18, 2019, 8:01 a.m.