library(mlr)
margex.task = mlr::makeClassifTask(data = margex, target = "outcome")
# fit classification model
margex.form = outcome ~ treatment*group + age + I(age^2) + treatment:age
margex.mod = glm(margex.form, data = margex, family = binomial)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.