Description Usage Arguments Value Examples
This gives you a data.frame with rows grouped based on the columns parameter and tell you how many unique values are in each group.
1 | make_k_score(data, columns = NULL, quiet = FALSE, minimum_k_score = 3)
|
data |
The data.frame with the data you want to make the k score from. |
columns |
A string or vector of strings for the names of columns to group the data by. |
quiet |
A Boolean (default FALSE) for whether you want to output a message that tells you if
there are groups with too few observations - you can set how many is 'too few'
in the parameter |
minimum_k_score |
A single integer which sets the number of observations in each group that will
message (if |
A data.frame
1 | make_k_score(mtcars, columns = c("cyl", "vs", "am", "gear"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.