ValidateNewData: ValidateNewData

View source: R/checks.R

ValidateNewDataR Documentation

ValidateNewData

Description

Checks the model provided in object either has valid data to make predictions or that the data provided in newdata is valid to use for predictions.

Usage

ValidateNewData(object, newdata = NULL)

Arguments

object

A MachineLearning or Regression object.

newdata

Optionally, a data frame including the variables used to fit the model.

Value

A data.frame that has the appropriate variables to predict new outcome values for a provided model in object.


NumbersInternational/flipData documentation built on March 2, 2024, 10:52 a.m.