Simulate random data from a beta curve

beta_data(shape_par, nsim=1000)

Arguments

shape_par

vector of shape parameters of the beta curve

nsim

number of simulations

Value

A vector of random spins from the spinner

Examples

shape_par <- c(12, 8) beta_data(shape_par, 10)
#> [1] 0.4863514 0.6298024 0.6252890 0.5976216 0.5963319 0.5293967 0.6440637 #> [8] 0.5732434 0.4555654 0.6804225