View source: R/simulate_data.R
set_cut_off | R Documentation |
Set Clinical Cut Off Rule
set_cut_off(object, internal = cut_off_none(), external = cut_off_none())
object |
|
internal |
|
external |
|
A DataSimObject
with updated cut_off_internal
and cut_off_external
slots.
data_sim <- create_data_simulation(
create_baseline_object(10, 10, 10),
event_dist = create_event_dist(dist = "exponential", lambdas = 1 / 36)
)
set_cut_off(
data_sim,
cut_off_after_events(n = 10),
cut_off_after_first(time = 30)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.