From 9aac94f01c9cdfc351253d369f37b811e6eecbe4 Mon Sep 17 00:00:00 2001 From: gowerc Date: Wed, 22 May 2024 07:59:47 +0100 Subject: [PATCH] Fix spelling --- inst/WORDLIST | 2 ++ vignettes/extending-jmpost.Rmd | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/inst/WORDLIST b/inst/WORDLIST index 8790762f..72f7f120 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -138,3 +138,5 @@ SimSurvival geq LLoQ groupwise +du +int diff --git a/vignettes/extending-jmpost.Rmd b/vignettes/extending-jmpost.Rmd index 15bfb495..f87f0d85 100644 --- a/vignettes/extending-jmpost.Rmd +++ b/vignettes/extending-jmpost.Rmd @@ -308,7 +308,7 @@ To simulate event times the simulation function takes advantage of the following $$ \begin{align} S(t) &\sim U(0, 1) \\ -S(t) &= exp\left(-\int_0^th(u)\ du\right) +S(t) &= exp\left(-\int_0^t h(u)\ du\right) \end{align} $$ @@ -318,7 +318,7 @@ approximates the integral by sequentially summing up the hazard after a given st declaring an event once the sampled probability value has been exceeded. This gives rise to two key parameters that need to be defined by the user: -- `time_max`: The maximum time to simulate up to (events occouring after this time are censored) +- `time_max`: The maximum time to simulate up to (events occurring after this time are censored) - `time_step`: How much of a gap to leave between time points to calculate the hazard at Note that there is currently an outstanding development item to convert this to use numerical