make_classes: Prepend a new class

View source: R/misc.R

make_classesR Documentation

Prepend a new class

Description

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

Usage

make_classes(prefix)

Arguments

prefix

A character string for a class.

Value

A character vector.


parsnip documentation built on June 16, 2022, 5:10 p.m.