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

Description Usage Arguments

View source: R/setup.R

Description

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

Usage

1
rand_levers(nlevers, J, bas_type)

Arguments

nlevers

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").


dfcorbin/npbanditC documentation built on March 23, 2020, 5:25 a.m.