Description Usage Arguments Examples
time series plot across different interventions
1 2 3 4 5 6 7 8 9 10 11 |
result |
Modeling result of class |
baseline.treat.name |
Name for reference treatment. Default is |
plot.by.treat |
Whether or not the measurements should be plotted in different panels by treatment.
The default is |
overlay.with.model |
Whether or not the model prediction should be plotted. The default is |
predict.model |
Indicator for whether or not a prediction line should be plotted over the study period.
Option when |
trial.start |
Start time of the trial specified with |
trial.end |
End time of the trial specified with |
timestamp.format |
Format of the |
1 2 3 4 5 6 7 8 | Y <- laughter$Y
Treat <- laughter$Treat
nof1 <- nof1.data(Y, Treat, ncat = 11, baseline = "Usual Routine", response = "ordinal")
timestamp <- seq(as.Date('2015-01-01'),as.Date('2016-01-31'), length.out = length(Y))
time_series_plot(nof1,
timestamp = timestamp,
timestamp.format = "%m-%d-%Y",
Outcome.name = "Stress")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.