Learn R Programming

fitPS (version 1.0.1)

probfun: Probability Functions

Description

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

Usage

probfun(psFitobj)

Value

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

Arguments

psFitobj

an object of class psFit--see fitDist and fitZIDist.

Examples

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

Run the code above in your browser using DataLab