eff_at_dose | R Documentation |
Get the number of efficacy events seen at the doses under investigation.
eff_at_dose(x, dose, ...)
## S3 method for class 'efftox_fit'
eff_at_dose(x, dose = NULL, ...)
x |
An R object of class |
dose |
Optional integer, at which dose-level? Omit to get data on all doses. |
... |
arguments passed to other methods |
integer vector
## Not run:
# EffTox example
x <- stan_efftox_demo(outcome_str = '1N 2E')
eff_at_dose(fit) # c(0, 1, 0, 0)
eff_at_dose(fit, dose = 2) # 1
eff_at_dose(fit, dose = 3) # 0
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.