Learn R Programming

distr (version 2.9.5)

p-methods: Methods for Function p in Package `distr'

Description

p-methods

Arguments

Methods

p

signature(object = "Distribution"): returns the cumulative distribution function (c.d.f.), i.e.; \(p(t) = P(object \le t)\)

p.r

signature(object = "Distribution"): from distr-2.6 onwards, we provide this as a synonym for method p; this synonym more explicitely states that we are dealing with the right-continuous variant of a c.d.f.

See Also

Distribution-class, p.l

Examples

Run this code
require(distr)
N <- Norm()
p(N)(0.3)
p.r(N)(0.3)

Run the code above in your browser using DataLab