Description Usage Arguments Examples
time series plot across different interventions
1 2 | time_series_plot(nof1, time = NULL, timestamp = NULL,
timestamp.format = "%m/%d/%Y %H:%M", Outcome.name = "")
|
nof1 |
nof1 object created using nof1.data |
timestamp |
time of the nof1 event occurring |
timestamp.format |
format of the timestamp |
Outcomes.name |
used to label y-axis outcome variable |
1 2 3 4 5 | 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.