Learn R Programming

RtsEva (version 1.1.0)

initPercentiles: Initialize Percentiles

Description

This function calculates percentiles for a given dataset

Usage

initPercentiles(subsrs, percentM, percent, percentP)

Value

A list containing the calculated percentiles and probabilities.

Arguments

subsrs

The input dataset.

percentM

The percentile for the lower bound.

percent

The percentile for the middle bound.

percentP

The percentile for the upper bound.

See Also

tsEvaNanRunningPercentiles()

Examples

Run this code
timeAndSeries <- ArdecheStMartin
timeStamps <- ArdecheStMartin[,1]
series <- ArdecheStMartin[,2]
initPercentiles(series, 89, 90, 91)

Run the code above in your browser using DataLab