getBetaStepProbs: Get Beta step probabilities

Description Usage Arguments Details Value

View source: R/utils.R

Description

Use a Beta distribution for set probabilities along a path. (this function is borrowed from splatter).

Usage

1
getBetaStepProbs(steps, alpha, beta)

Arguments

steps

Number of steps

alpha

Alpha parameter

beta

Beta parameter

Details

The density is sampled from a Beta distribution between 0 and 1. Infinite densities at edges are adjusted and then the values are scaled to give probabilities.

Value

Vector of probabilities


JINJINT/ESCO documentation built on May 13, 2021, 7:25 p.m.