new_MAB: Generate a new object of S4 class MAB

Description Usage Arguments Value

View source: R/generic_mab.R

Description

Generate a new object of S4 class MAB

Usage

1
new_MAB(posteriors, trajectory, basis, means, bas_type)

Arguments

posteriors

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

trajectory

A dataframe containing information on the decision trajectory.

basis

A list of basis functions.

means

A list of mean-reward functions.

bas_type

The type of basis functions used.

Value

An object of the S4 class MAB.


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