tabulate_duplicates | R Documentation |
tabulate_duplicates
Produce a table of which values are duplicated
within a specified variable in a dataframe, and their number of repetitions.
tabulate_duplicates(df, varname, print_results = FALSE)
df |
The dataframe containing the variable of interest. |
varname |
The variable of interest. Must be given as a string to avoid dplyr's non-standard evaluation. |
print_results |
If |
## Not run:
duplicate_bloods <- tabulate_duplicates(bloods, 'subject_id')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.