p75: Compute the sample 75th percentile.

View source: R/btools_stats.r

p75R Documentation

Compute the sample 75th percentile.

Description

Compute the sample 75th percentile.

Usage

p75(x, na.rm = FALSE)

Arguments

x

a numeric vector containing the values whose 75th percentile is to be computed.

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds.

Value

numeric

Examples

p75(1:100)
p75(c(1:10, NA, 11:100), na.rm=TRUE)

donboyd5/btools documentation built on Jan. 7, 2023, 10:47 p.m.