probfun: Probability Functions

View source: R/probfun.R

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

fitPS documentation built on June 24, 2024, 9:09 a.m.