KH.quant.75: Get 'quantile' with rounded output for probability of 0.75

Description Usage Arguments Value See Also Examples

View source: R/Stats.R

Description

Get quantile with rounded output for probability of 0.75

Usage

1
KH.quant.75(x, decimal = KH.get(variable = "decimal", default = 1), ...)

Arguments

x

numeric. Vector of numbers to calculate quantile.

decimal

integer. Set precision for vectors in resultant quantile. Default is decimal in package.

...

Dots. An arbitrary number and variety of arguments, passing arguments on to quantile function.

Value

numeric. quantile of the vector rounded to the given precision.

See Also

Other Stats: KH.IQR, KH.max, KH.mean, KH.median, KH.min, KH.nineNumbers.by, KH.nineNumbers.table, KH.nineNumbers.total, KH.quant.10, KH.quant.25, KH.quant.n, KH.sd

Examples

1
2
3
4
5
6
7
8
set.seed(100)
KH.quant.75(c(rnorm(10, sd = 1)))
# 75%
#0.27
set.seed(100)
KH.quant.75(c(rnorm(10, sd = 1)), decimal = 3)
# 75%
#0.272

ks465/r-utils documentation built on May 23, 2019, 5:07 p.m.