print_percentiles | R Documentation |
experimental Computes and displays the percentiles and cumulative percentiles of a variable.
print_percentiles(
lissy_files,
variable,
breaks = seq(0, 1, 0.1),
weight = NULL,
na.rm = FALSE
)
lissy_files |
A list of LIS or LWS files. |
variable |
A character vector of length one. |
breaks |
A numeric vector with specifying the percentiles that should be computed. Defaults to deciles. |
weight |
A string with the name of the variable in 'file' that should be used as sample weights. |
na.rm |
A boolean indicating if missing values should be ignored. Defaults to FALSE. |
A tibble with percentile absolute and cummulative values.
## Not run:
lissy_files <- read_lissy_files(c("fr84h", "fr94h", "fr10h"))
print_percentiles(lissy_files = lissy_files, variable = "dhi")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.