| declare_variable | R Documentation |
declare_variable() constructs a target that refers to a state variable's sparse history in entity$hist. It is used to define derived features based on recent values (e.g., counts, means, lags) when building model-ready snapshots.
declare_variable(name)
name |
Single variable name (character scalar). |
A target list used by derive() and lag_of().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.