add_ident | R Documentation |
add_ident()
adds a column to the passed tibble of timber, containing an
identifier for use in Analytica.
add_ident(timber, cedar_version = 2)
timber |
a tibble of timber, with a table built by |
cedar_version |
numeric [1,2]: the version of CEDAR that created the export. |
Each node in an Analytica model requires an identifier - a unique string,
of max 20 characters, with no spaces. add_ident
generates the
string, which includes the factor (or meta-analysis number), and is based
on the title of the node.
The identifier is generated in the format "R00001_name_here" (or "M00001_name_here" if for a meta-analysis result).
The passed tibble of timber with an additional column identifier containing the generated identifiers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.