| tidy2.step_distributed_lag | R Documentation |
tidy2 will return a data frame that contains information
regarding a recipe or operation within the recipe (when a tidy2
method for the operation exists). This method ensures that relevant data
for predict_terms and response can be easily accessed from a recipe
formulation.
## S3 method for class 'step_distributed_lag' tidy2(x, ...) ## S3 method for class 'step_earthtide' tidy2(x, ...) ## S3 method for class 'step_lead_lag' tidy2(x, ...) ## S3 method for class 'recipe' tidy2(x, number = NA, id = NA, ...) ## S3 method for class 'step' tidy2(x, ...) ## S3 method for class 'check' tidy2(x, ...) ## S3 method for class 'step_ns' tidy2(x, ...) ## S3 method for class 'step_intercept' tidy2(x, ...)
x |
A |
... |
Not currently used. |
number |
An integer or |
id |
A character string or |
A tibble with columns that vary depending on what
tidy2 method is executed. When number and id are NA, a
tibble with columns number (the operation iteration),
operation (either "step" or "check"),
type (the method, e.g. 'lead_lag', 'distributed_lag'), a logical
column called trained for whether the operation has been
estimated using prep, a logical for skip, and a character column id.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.