Learn R Programming

BaseSet (version 0.0.17)

length_set: Calculates the probability

Description

Given several probabilities it looks for how probable is to have a vector of each length

Usage

length_set(probability)

Value

A vector with the probability of each set.

Arguments

probability

A numeric vector of probabilities.

See Also

length_probability() to calculate the probability of a specific length.

Examples

Run this code
length_set(c(0.5, 0.1, 0.3, 0.5, 0.25, 0.23))

Run the code above in your browser using DataLab