quantile_type7_cpp: Compute the quantiles using quantile type seven

View source: R/RcppExports.R

quantile_type7_cppR 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


NorskRegnesentral/shapr documentation built on April 19, 2024, 1:19 p.m.