probfun {fitPS}R Documentation

Probability Functions

Description

Creates a probability function that allows the computation of any P or S term.

Usage

probfun(psFitobj)

Arguments

psFitobj

an object of class psFit–see fitDist and fitZIDist.

Value

a function that can be used to calculate any P or S term.

Examples

p = readData(system.file("extdata", "p.xlsx", package = "fitPS"))
fit = fitDist(p)
P = probfun(fit)
P(0:5)

[Package fitPS version 1.0.1 Index]