Learn R Programming

radiant.data (version 1.4.5)

p01: Calculate percentiles

Description

Calculate percentiles

Usage

p01(x, na.rm = TRUE)

p025(x, na.rm = TRUE)

p05(x, na.rm = TRUE)

p10(x, na.rm = TRUE)

p25(x, na.rm = TRUE)

p75(x, na.rm = TRUE)

p90(x, na.rm = TRUE)

p95(x, na.rm = TRUE)

p975(x, na.rm = TRUE)

p99(x, na.rm = TRUE)

Arguments

x

Numeric vector

na.rm

If TRUE missing values are removed before calculation

Examples

Run this code
p01(0:100)

Run the code above in your browser using DataLab