geomdist: Creates an Object Representing Geometric Distribution

View source: R/creators.R

geomdistR Documentation

Creates an Object Representing Geometric Distribution

Description

The function creates an object which represents the geometric distribution.

Usage

geomdist(prob = 0.5)

Arguments

prob

probability parameter, default: 0.5.

Details

See Geometric.

Value

Object of class geomdist.

See Also

Geometric

Examples

G <- geomdist(0.5)
d(G, c(2, 3, 4, NA))
r(G, 5)

mistr documentation built on March 7, 2023, 7:42 p.m.