View source: R/Variable_relationships.R
is_nested | R Documentation |
Given two variable names and a data.table, checks if the inner_term
is nested in the outer_term
,
meaning that each level of inner_term
is paired with at most 1 level of outer_term
.
Each level of outer_term
may be paired with multiple levels of inner_term
.
is_nested(outer_term, inner_term, data = NULL)
outer_term |
Term expected to be at the higher level |
inner_term |
Term that may be nested in |
data |
data.frame with columns (minimally) |
TRUE or FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.