eddDist-class: Class "eddDist"

Description Objects from the Class Slots Methods Examples

Description

objects from this class can be used to simulate or tabulate reference distributions for edd

Objects from the Class

Objects can be created by calls of the form new("eddDist", ...). These objects include a simple stub (like "norm", which can be modified to obtain the name of a generator (prepend "r"), cdf (prepend "p"), etc.) in R.

Slots

stub:

Object of class "character" stub of a distribution system in R, to which "r" is prepended to get a generator, "p" to get a cdf, "q" to get a quantile function...

parms:

Object of class "numeric" named vector of parameters for a member of the family

median:

Object of class "numeric" median of the distribution (sometimes has to be computed by simulation)

mad:

Object of class "numeric" MAD of the distribution (sometimes has to be computed by simulation)

tag:

Object of class "character" an informative character tag

latexTag:

Object of class "character" an informative character tag in latex format, which can use subscripts, greek letters, etc.

plotlim:

Object of class "numeric" an informative numeric indicating the upper and lower bounds of the distribution.

Methods

CDFname

signature(x = "eddDist"): prepend "p" to stub(x)

genName

signature(x = "eddDist"): prepend "r" to stub(x)

Mad

signature(x = "eddDist"): accessor

med

signature(x = "eddDist"): accessor

parms

signature(x = "eddDist"): accessor

qfName

signature(x = "eddDist"): prepend "q" to stub(x)

qfun

signature(e = "eddDist"): construct a quantile function from the object

stub

signature(x = "eddDist"): accessor

tag

signature(x = "eddDist"): accessor

latexTag

signature(x = "eddDist"): accessor

plotlim

signature(x = "eddDist"): accessor

testVec

signature(x = "numeric", eddd = "eddDist", is.centered = "logical"): apply ks.test to a given vector x against the dist specified by the eddDist components

Examples

1
2
3

edd documentation built on May 2, 2019, 6:10 p.m.