Description Usage Arguments Value Note
Checks whether the mapping is consistent within a data frame.
1 | CheckForMapping(x, from, to)
|
x |
a data frame. |
from |
(character) vector of column names. |
to |
(character) vector of column names. Typically these are different from those in 'from'. |
If all tests pass, returns TRUE invisibly. Otherwise, an 'assertError' is thrown.
Checks that no rows in 'x[from]' map to two different values of 'x[to]'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.