Learn R Programming

embed (version 1.1.2)

tidy.step_collapse_cart: Tidy the Result of a Recipe

Description

tidy will return a data frame that contains information regarding a recipe or operation within the recipe (when a tidy method for the operation exists). See recipes::tidy.recipe for more information.

Usage

# S3 method for step_collapse_cart
tidy(x, ...)

# S3 method for step_collapse_stringdist tidy(x, ...)

# S3 method for step_discretize_cart tidy(x, ...)

# S3 method for step_discretize_xgb tidy(x, ...)

# S3 method for step_embed tidy(x, ...)

# S3 method for step_feature_hash tidy(x, ...)

# S3 method for step_lencode_bayes tidy(x, ...)

# S3 method for step_lencode_glm tidy(x, ...)

# S3 method for step_lencode_mixed tidy(x, ...)

# S3 method for step_pca_sparse tidy(x, ...)

# S3 method for step_pca_sparse_bayes tidy(x, ...)

# S3 method for step_pca_truncated tidy(x, type = "coef", ...)

# S3 method for step_umap tidy(x, ...)

# S3 method for step_woe tidy(x, ...)

Arguments

x

A step_woe object.

...

Not currently used.

type

For step_pca_truncated, either "coef" (for the variable loadings per component) or "variance" (how much variance does each component account for).