beta_data: Simulate random data from a beta curve

Description Usage Arguments Value Author(s) Examples

View source: R/beta_data.R

Description

Simulate random data from a beta curve

Usage

1
  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

Author(s)

Jim Albert

Examples

1
2
  shape_par <- c(12, 8)
  beta_data(shape_par, 10)

TeachBayes documentation built on May 1, 2019, 9:17 p.m.