get_model_env: Working with the parsnip model environment

Description Usage Arguments References Examples

View source: R/aaa_models.R

Description

These functions read and write to the environment where the package stores information about model specifications.

Usage

1
2
3
4
5
6
7

Arguments

items

A character string of objects in the model environment.

...

Named values that will be assigned to the model environment.

name

A single character value for a new symbol in the model environment.

value

A single value for a new value in the model environment.

References

"How to build a parsnip model" https://www.tidymodels.org/learn/develop/models/

Examples

1
2
3
# Access the model data:
current_code <- get_model_env()
ls(envir = current_code)

parsnip documentation built on July 21, 2021, 5:08 p.m.