Description Usage Arguments Details Dependencies Author(s) Examples
Computes the distributed conditional percentile for a given study and categorical variables.
1 | ds.condPercentile(varName, catName, category, xValue, datasources)
|
varName |
a character, the name of numerical variable. |
catName |
a character, the name of categorical variable. |
category |
the given category to calculate the corresponding percentile. |
xValue |
the given value to calculate the corresponding percentile. |
datasources |
a list of parameters to access files sytems or databases. |
Read each datasource (node) and compute the combined percentile according to categories.
getSamplesCounting
getPercentile
Rui Camacho, Paula Raissa
1 2 3 4 5 6 | {
fileNames <- c("juul.csv", "juul2.csv")
varName <- "age"
catName <- "sex"
ds.CondPercentile(varName, catName, 'f', 10, fileNames)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.