A thin wrapper around stats::quantile()
.
myqdata(p, vals, data = parent.frame(), ...)
p | a vector of probabilities |
---|---|
vals | a numeric vector or a name of a variable in |
data | a data frame |
... | addtional arguments passed to |
a vector of quantiles
myqdata( .5, eruptions, data=faithful)#> 50% #> 4