eddDist-class {edd}R Documentation

Class "eddDist"

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.

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
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

library(edd)
eddDistList[[1]]
qfun(eddDistList[[1]])

[Package edd version 1.8.0 Index]