count_duplicates | R Documentation |
This function searches though a data frame for duplicate entries to ensure that extra responses don't mess up your data analysis. The function returns a list that shows a table with the observed counts of responses and the total count of the extra responses (assuming that each person is supposed to have one response each)
count_duplicates(df, col, character_data = TRUE)
df |
Your data set |
col |
The specific column within the data set to look in (e.g., a column of participant's names or emails). UNQUOTED!!! |
character_data |
Indicate with TRUE or FALSE whether or not the supplied column is a vector of character data or not. |
count_duplicates(mtcars,cyl, character_data=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.