[R] Computing a CDF or many quantiles

Jerome Asselin jerome at hivnet.ubc.ca
Tue Sep 9 22:43:33 CEST 2003


Perhaps approx() or approxfun() can help you create an efficient CDF.

HTH,
Jerome

On September 9, 2003 01:38 pm, Kevin S. Van Horn wrote:
> Content-Length: 417
> Status: R
> X-Status: N
>
> Given f, a pdf over a finite interval, is there any existing R function
> that can efficiently tabulate the cumulative distribution function for
> f, or produce all N+1 quantiles of the form i/N?  "Efficiently" here
> means better than doing repeated integrations for each point.
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list