new_bandit: Create a new object of class bandit

Description Usage Arguments Value

View source: R/sim_rand_bandit.R

Description

Create a new object of class bandit

Usage

1
new_bandit(posteriors, trajectory, basis, beta_true)

Arguments

posteriors

A list containing posterior parameter values: beta, covar, a and b.

trajectory

A matrix containing information on the decision trajectory.

basis

A basis of polynomials.

beta_true

a matrix of the true model coefficients.

Value

An S4 object of class bandit.


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