Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

p-methods

Methods for Function p in Package ‘distr’


Description

p-methods

Methods

p

signature(object = "Distribution"): returns the cumulative distribution function (c.d.f.), i.e.; p(t) = P(object <= 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

Examples

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

distr

Object Oriented Implementation of Distributions

v2.8.0
LGPL-3
Authors
Florian Camphausen [ctb] (contributed as student in the initial phase --2005), Matthias Kohl [aut, cph], Peter Ruckdeschel [cre, cph], Thomas Stabla [ctb] (contributed as student in the initial phase --2005), R Core Team [ctb, cph] (for source file ks.c/ routines 'pKS2' and 'pKolmogorov2x')
Initial release
2019-03-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.