| Curve-class | R Documentation |
This class allows distributions to be defined. It contains all information needed to reproduce a distribution.
References to functions that store the PDF, CDF and random number generator.
Parameters are also stored.
typeType of Curve (character). Typically the distribution name.
PDFName of the PDF function describing the Curve.
CDFName of the CDF function describing the Curve.
RFName of the random generator function describing the Curve.
inverseName of the inverse CDF function describing the Curve. Optional; set to NULL if unavailable.
paramnoNumber of parameters required to define the distribution.
pnamesNames of parameters defining the distribution. Should be a vector of length paramno.
pvalueValues of parameters defining the distribution. Should be a list of length paramno.
James Bell
new("Curve", type="ExampleCurve",PDF="pdf_fn_name",CDF="CDF_fn_name",
RF="random_draw_fn_name", inverse="inv_fn_name",paramno=2,pnames=c('param1','param2'),
pvalue=list(1,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.