rand_arms: Generate mean-reward functions from the true prior...

Description Usage Arguments

View source: R/utils.R

Description

The levers can be constructed using either the legendre polynomial or fourier basis functions.

Usage

1
rand_arms(num_arms, J, bas_type, sd = 1)

Arguments

num_arms

The number of levers to construct.

J

The number of basis functions in each lever.

bas_type

The type of basis to use (either "fourier" or "poly").

sd

True standard deviation of the lever (affects the prior that we generate model coefficients from).


dfcorbin/MABsim documentation built on April 26, 2020, 8:26 a.m.