getDistFuns: Functions to get distribution functions from objects of class...

getdfunR Documentation

Functions to get distribution functions from objects of class sad

Description

Get distribution functions from objects of class sad

Usage

getdfun(s)

getpfun(s)

getqfun(s)

getrfun(s)

Arguments

s

an object of class sad

...

arguments to be passed to distribution functions, e.g. log, lower.tail

Details

See examples

Value

A function (d, p, q, r) parameterized with the distribution of the sad object

Author(s)

Andy Rominger <ajrominger@gmail.com>

See Also

fitSAD

Examples

x <- rtpois(1000, 2)
sad1 <- fitSAD(x, models='tpois')
getdfun(sad1[[1]])(1:10, log=TRUE)


ajrominger/pika documentation built on Nov. 13, 2022, 8:22 a.m.