Description Usage Arguments Value
View source: R/processSimulations.R
This function filters the inputted dataframe so we only get every 8th row.
Because there are 8 rows in the Q table, which we have in the output of
generateData
, everything trial's information is repeated 8
times. This function uses a dplyr::filter for (row_number() + 1
1
, which returns the 1st, 9th, 17th, 25th, etc. rows which happen to be the
first one for the new action set.
1 |
data |
Any dataframe that has a Qtable column, such as the output of
|
The unique values of the data (minus the Qtable).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.