View source: R/print.ms_size.R
| print.ms_size | R Documentation |
Print an ms_size object
## S3 method for class 'ms_size'
print(x, digits = 4, ...)
x |
An |
digits |
Number of significant digits. |
... |
Passed to |
x, invisibly.
ctl <- ms_model(death = log(2) / 12)
trt <- ms_model(death = 0.7 * log(2) / 12)
scn <- ms_scenario(ctl, trt, accrual = ms_accrual(rate = 20))
res <- ms_size(scn, looks = ms_looks("os"), test = ms_test(),
power = 0.9, solve_for = "events", n = 500)
print(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.