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/splattermodify documentation built on May 19, 2021, 4:05 p.m.