getBetaStepProbs: Get Beta step probabilities

Description Usage Arguments Details Value

View source: R/kersplat-simulate.R

Description

Use a Beta distribution for set probabilities along a path

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


splatter documentation built on Dec. 3, 2020, 2:01 a.m.