Learn R Programming

simitation (version 0.0.7)

quantile.dt: Internal function for Quantiles Calculation

Description

Computes the specified quantiles for the given data.

Usage

# S3 method for dt
quantile(x, probs, na.rm = TRUE)

Value

A data table with quantile values.

Arguments

x

A numeric vector.

probs

A numeric vector of quantile values.

na.rm

A logical indicating if missing values should be removed.