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. > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help