Learn R Programming

MachineShop (version 3.3.0)

as.MLModel: Coerce to an MLModel

Description

Function to coerce an object to MLModel.

Usage

as.MLModel(x, ...)

# S3 method for MLModelFit as.MLModel(x, ...)

# S3 method for ModeledInput as.MLModel(x, ...)

# S3 method for model_spec as.MLModel(x, ...)

Arguments

x

model fit result, modeled input, or model specification from the parsnip package.

...

arguments passed to other methods.

Value

MLModel class object.

See Also

ParsnipModel