calculate.quantiles: Calculates the quantile for each of a list of numbers, can be...

View source: R/risk.adjust.R

calculate.quantilesR Documentation

Calculates the quantile for each of a list of numbers, can be provided a list of numbers that it will round the percentile to. That should be useful for using the correct quantile from the quantile regression to correct the output.variable.

Description

Calculates the quantile for each of a list of numbers, can be provided a list of numbers that it will round the percentile to. That should be useful for using the correct quantile from the quantile regression to correct the output.variable.

Usage

calculate.quantiles(input.vector, possible.values = NULL)

Arguments

input.vector

Vector of numbers to calculate quantiles for.

possible.values

The values that the quantiles will be rounded to.

Value

Vector of quantiles the same size as input


mattmoo/daohtools documentation built on Feb. 5, 2023, 5:38 a.m.