Description Usage Arguments Value Note
Converts predictions from degroot into a tidy dataset
1 | tidyDegroot(pred, id)
|
pred: |
a matrix of predictions |
id: |
a vector whose length is nrow(pred) that gives ID values for pred. IF it is missing, it will be set to 1:nrow(pred) |
A tibble (i.e., a data.frame) with 3 columns: an id column (id), a column for the predicted value from the simulation, and a value for the number of iterations, and a column for the number of draws
This function is in beta, please use with caution! It also involves loading several other dependencies, which isn't ideal.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.