View source: R/Variable_relationships.R
is_aliased | R Documentation |
Given two variable names and a data.table, checks if the term1
is aliased with the term2
.
Two terms are aliased if there levels match 1:1.
Each level of term1
is paired with exactly 1 level of term2
.
is_aliased(term1, term2, data)
term1, |
One Variable name of interest. |
term2 |
A second Variable name of interest. |
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.