myqdata: Quantiles from Data

Description Usage Arguments Value Examples

View source: R/utils.R

Description

A thin wrapper around stats::quantile().

Usage

1
myqdata(p, vals, data = parent.frame(), ...)

Arguments

p

a vector of probabilities

vals

a numeric vector or a name of a variable in data

data

a data frame

...

addtional arguments passed to quantile()

Value

a vector of quantiles

Examples

1
myqdata( .5, eruptions, data=faithful)

EconModels/MacroGrowth documentation built on Sept. 26, 2018, 6:59 a.m.