Description Usage Arguments Author(s) Examples
View source: R/get_non_unique_rows.R
Return a dataframe where the the rows are non-unique in terms of a varialbe
1 | get_non_unique_rows(a_df, a_var)
|
a_df |
a dataframe |
a_var |
a variable, for defining row uniqueness |
Lingyun (Larry) Zhang lyzhang10@gmail.com
1 2 3 4 5 | fk_data <-
data.frame(x = c(rep("a", 2), rep("b", 3), rep("c", 5), letters[11:20]),
y = rnorm(20),
stringAsFactor = FALSE)
test_df <- get_non_unique_rows(a_df = fk_data, a_var = "x")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.