percentileInterval: Percentile for intervaled data sets

Description Usage Arguments Value Author(s) See Also Examples

View source: R/percentileInterval.R

Description

Calculates the percentile for one intervaled data set, based on the histogram

Usage

1
percentileInterval(intervals, percentil, type = "T")

Arguments

intervals

An interval data set

percentil

The percentile that you want to calculate

type

Kind of calculation for the number of classes ("T" = defines a class for every element of vetorMin,vetorMax."SC" = Scott formula."ST" = Sturges)

Value

The percentile value

Author(s)

Ricardo Jorge de Almeida Queiroz Filho <[email protected]>, Roberta Andrade de Araujo Fagundes <[email protected]>

See Also

interval

Examples

1
2
3
4
5
data(mushroom)
xmi= mushroom$xmin
xma= mushroom$xmax
a = interval(xmi,xma)
b=percentileInterval(intervals=a,percentil = 0.5)

ISDA.R documentation built on May 31, 2017, 5:18 a.m.