prettySummary | R Documentation |
This function generates a pretty quantile summary for printing.
prettySummary(x, p = c(0, 0.25, 0.5, 0.75, 1), n = TRUE, signif = TRUE)
x |
a numeric vector |
p |
a numeric vector of percentiles |
n |
a logical value indicating whether the vector of percentiles should be appended with the number of observations |
signif |
a logical value indicating whether the percentiles should be rounded to the precision of the data |
a character value of quantiles and optionally the number of observations
Stephen Roecker
x <- 1.1:10.1
prettySummary(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.