Description Usage Arguments Value
This function summarizes recommendations for multicategory treatment setup from the results of binary treatment comparisons, using the majority voting approach.
1 | summarize_rec(data, pred)
|
data |
a data frame containing the ID ( |
pred |
a matrix with |
A data frame with the following 4 columns:
ID
: IDs of subjects, same as those in data
.
reward
: outcome values of subjects, same as those in data
.
treatment
: observed treatments of subjects, same as those in data
.
vote
: recommended treatments of subjects that are summarized from pred
using the majority voting approach.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.