make_classes: Prepend a new class

Description Usage Arguments Value

View source: R/misc.R

Description

This adds an extra class to a base class of "model_spec".

Usage

1
make_classes(prefix)

Arguments

prefix

A character string for a class.

Value

A character vector.


parsnip documentation built on July 8, 2020, 7:22 p.m.