Learn R Programming

shapr (version 1.0.4)

quantile_type7_cpp: Compute the quantiles using quantile type seven

Description

Compute the quantiles using quantile type seven

Usage

quantile_type7_cpp(x, probs)

Value

A vector of length length(probs) with the quantiles is returned.

Arguments

x

arma::vec. Numeric vector whose sample quantiles are wanted.

probs

arma::vec. Numeric vector of probabilities with values between zero and one.

Author

Lars Henry Berge Olsen

Details

Using quantile type number seven from stats::quantile in R.