refProp | R Documentation |
This function creates a dataframe that lists every unique combination of hair colour, skin colour, and eye colour in the provided dataset, along with the proportion of occurrences of each combination.
refProp(data)
data |
A data.frame containing the characteristics of individuals. |
A data.frame with columns for hair_colour, skin_colour, eye_colour, and f_h_s_y.
data <- simRef(1000)
refProp(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.