Description Usage Arguments Value Examples
create_ecdf
generates a plot of the Empirical Cumulative Distribution
Function (ECDF) using the observed data. The ECDF shows the proportion of
obervations that are less than or equal to each obvsered value.
1 2 3 4 5 6 7 8 | create_ecdf(
vector,
title = "ECDF Chart",
subtitle = "",
caption = "",
x_label = "Quartiles",
y_label = "Frequency"
)
|
vector |
Vector containing the observed numeric data. |
title |
Character string; title to be displayed on Pareto chart. Default is "ECDF Plot". |
subtitle |
Character string; subtitle to be displayed on chart. Default is "". |
caption |
Character string; caption to be displayed on the chart. Default is "". |
x_label |
Character string; x axis label to be displayed on the chart. Default is "Groups". |
y_label |
Character string; y axis label to be displayed on the chart. Default is "Frequency". |
A plot containing the ECDF. If an error or warning occurs, a message will be printed to the console and the function will return NULL.
1 2 | source <- c(1, 1, 1, 1, 2, 2, 2, 3, 3, 4)
plot <- create_ecdf(source)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.