Description Usage Arguments Value Examples
View source: R/demographics_filter.R
demographics_filter
1 | demographics_filter(dataset, age, gender, nationality)
|
dataset |
the dataset to be treated, compulsory argument, cannot be empty |
age |
input value age, the data will be filtered according to the appropriate age group of the input value. Optional argument |
gender |
input value = "M" or "F", the data will be filtered accordingly. Optional argument |
nationality |
input value nationality, the data will be filtered accordingly. Optional argument |
filtered dataset with only desired data points remaining
1 2 3 4 5 | ## Not run:
demographics_filter(data_all, age = 34, gender = "F", nationality ="USA")
demographics_filter(data_all, gender = "F")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.