Description Usage Arguments Examples
View source: R/plot_timeseries.R
Plot time series of net events on a second treatment arm
1 | plot_timeseries(tendril, term = NULL)
|
tendril |
An object of class Tendril, as made by Tendril() |
term |
A character vector describing the value or values of Term to
select; defaults to |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # generate data using Tendril()
data <- Tendril(
mydata = TendrilData,
rotations = Rotations,
AEfreqThreshold = 9,
Tag = "Comment",
Treatments = c("placebo", "active"),
Unique.Subject.Identifier = "subjid",
Terms = "ae",
Treat = "treatment",
StartDay = "day",
SubjList = SubjList,
SubjList.subject = "subjid",
SubjList.treatment = "treatment"
)
# do plot
plot_timeseries(data, term="AE33")
plot_timeseries(data, term=c("AE33","AE40"))
plot_timeseries(data, term=NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.