Description Usage Arguments Examples
View source: R/utilities_func.R
Distinctness checker
1 | is.distinct(df, on)
|
df |
Source dataframe |
on |
The NSE variable which you want to check the distinctiveness of |
1 2 3 4 5 6 7 8 | test_frame <- data.frame(
col1 = c("a", "b", "c")
, col2 = c(1, 1, 2)
)
# This part should show TRUE since the test frame is unique on col1
is.distinct(test_frame, on = col1)
# This part should show FALSE since the test frame is NOT unique on col2
is.distinct(test_frame, on = col2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.