broken_stick: Broken-stick Distribution for 'p' Pieces.

View source: R/utils.R

broken_stickR Documentation

Broken-stick Distribution for 'p' Pieces.

Description

Compute the expected values of the broken-stick distribution for 'p' pieces.

Usage

broken_stick(p)

Arguments

p

An interger that specify the number of pieces

Value

broken-stick distribution for 'p' pieces.

Examples

broken_stick_out_20 = broken_stick(20)

fchuffar/epimedtools documentation built on Feb. 3, 2024, 2:21 a.m.