createOutcome | R Documentation |
Create an outcome object
createOutcome(outcome)
outcome |
Vector of outcome values |
Outcome
object
X <- matrix(runif(10*100), ncol = 10)
y <- -5 + 10*(X[,1] > 0.5) + rnorm(100)
outcome <- createOutcome(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.