Learn R Programming

rinform (version 1.0.2)

length.Dist: Length

Description

Method giving the size of the support of the distribution.

Usage

# S3 method for Dist
length(x)

Arguments

x

Dist object representing the distribution.

Value

Numeric giving the size of the support.

Examples

Run this code
# NOT RUN {
length(Dist(5))
length(Dist(c(0,2,3)))
# }

Run the code above in your browser using DataLab