probability: The Probability at a Value for a Discrete Distribution

Description Usage Arguments Value Author(s) See Also Examples

Description

Given a possible value for a probability distribution, the probability at that value is computed.

Usage

1
probability(object, val)

Arguments

object

A discrete probability distribution.

val

The value at which the probability should be computed.

Value

The probability at val.

Author(s)

Petter Mostad <mostad@chalmers.se>

See Also

probabilitydensity

Examples

1
2

Example output

Loading required package: MASS
[1] 0.1493612
[1] 0.2884986

lestat documentation built on May 2, 2019, 2:09 p.m.