quantile_type7_cpp {shapr}R Documentation

Compute the quantiles using quantile type seven

Description

Compute the quantiles using quantile type seven

Usage

quantile_type7_cpp(x, probs)

Arguments

x

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

probs

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

Details

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

Value

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

Author(s)

Lars Henry Berge Olsen


[Package shapr version 1.0.4 Index]