summaryTable: Create a Summary Table of the Stay Probabilities

Description Usage Arguments Value

View source: R/plots.R

Description

This function creates a summary table of the mean, standard deviation, minimum, and maximum stay probabilities based on the predictions from a logistic regression. It is specific to each reward and transition structure combination.

Usage

1

Arguments

data

Data is a single dataframe that has had the manipulateData function applied to it. Should be a dataframe with multiple agents.

alpha gamma reward transition meanPredStay stdPredStay minPredStay maxPredStay

Value

A dataframe with 8 coiumns and variable rows depending on the combinations of the learning rate, alpha, and temporal discount factor, gamma:


jdtrat/dynaq documentation built on July 24, 2020, 7:18 a.m.