Description Usage Arguments Value Examples
Function to check the gender column and age column subset based on the values in it have used) in a data frame
1 | subset_gender_age_to_group(data, gender, agelimit)
|
data |
a data frame |
gender |
groupby gender either male or female expected |
agelimit |
list of ages e.g. c(10,20) |
the column number
1 2 | subset_gender_age_to_group(data.frame(age = rep(20, 4), gender =
rep("male", 4)), "male", c(10, 70))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.