| scale_remaining_time | R Documentation |
Computes curtime + (event_time - curtime) / hr. Use inside event
reactions to shrink or expand the remaining time to an event.
scale_remaining_time(event_name, hr)
event_name |
Character. Name of the event whose time to scale. |
hr |
Numeric greater than 0. Hazard ratio to apply. Values below 1 extend time; values above 1 shorten it. |
Numeric: the new absolute event time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.