CDFRandomPoints: Random points generation for a CDF.

Description Usage Arguments Value

View source: R/QRMon.R

Description

Generates a vector of random points using a CDF data frame.

Usage

1
CDFRandomPoints(cdf, n = 1, randomFunction = runif)

Arguments

cdf

A data frame with numeric columns "Probability" and "Quantile".

n

Number of points.

randomFunction

A function to generate a random point between the quantiles. (It rarely makes sense to be different than runif.)

Value

A numeric vector


antononcube/QRMon-R documentation built on July 26, 2021, 1:07 p.m.