Description Usage Arguments Value
A function that allows us to read in the data and fix any binomial inputs to be 0 and 1.
1 | formated_read_input(data, response_type)
|
data |
The data file we want to format. This is simply a data frame with outcomes. We can input either a single outcome or multiple outcomes. The outcomes each have a treatment and a result vector. |
response_type |
The response type of the data. Can be a list of strings if we have several outcomes to examine or a single string. |
The function returns the formated data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.