outcome_data | R Documentation |
outcome_data(object)
outcome_data(object) <- value
## S4 method for signature 'trial_sequence'
outcome_data(object)
## S4 replacement method for signature 'trial_sequence'
outcome_data(object) <- value
object |
|
value |
|
Generic function to outcome data
The object
with updated outcome data
ts <- trial_sequence("ITT")
new_data <- data.table::data.table(vignette_switch_data[1:200, ])
new_data$weight <- 1
outcome_data(ts) <- new_data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.