Description Usage Format Examples
A sample dataset to test functions. This dataset has a binary response.
1 |
A data.table with 10 rows and 3 variables:
gender, either M
ale or F
emale
indicating whether a person has a criminal record (yes
) or not (no
)
integer column, 0
if not rich and 1
if rich
1 2 3 4 5 6 7 | data(rich)
change_form(
rich,
from = 'binary', to = 'binomial',
old_response = 'is_rich',
new_response = c('rich', 'not_rich')
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.