prettySummary: Pretty Quantile Printing

prettySummaryR Documentation

Pretty Quantile Printing

Description

This function generates a pretty quantile summary for printing.

Usage

prettySummary(x, p = c(0, 0.25, 0.5, 0.75, 1), n = TRUE, signif = TRUE)

Arguments

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

Value

a character value of quantiles and optionally the number of observations

Author(s)

Stephen Roecker

Examples

x <- 1.1:10.1
prettySummary(x)


ncss-tech/soilReports documentation built on April 25, 2024, 1:03 a.m.