View source: R/prepare.functions.R
get.earliest.time | R Documentation |
Takes the earliest time point from each arm in each study within an
mb.network
object. Useful for network plots.
get.earliest.time(network)
network |
An object of class |
A list containing:
a data frame in long format of responses at the earliest time point in each arm of each study
a vector of studyIDs
a vector of treatment names
a vector of class names (if included in network
)
a data frame of treatment -> class codings (if included in network
)
# Using the alogliptin dataset
network <- mb.network(alog_pcfb)
# Generate a data set with only the earliest time point included in each study
get.earliest.time(network)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.