.addMissingGroupings | R Documentation |
Datasets which haven't been assigned to any group will be plotted as a group
on its own. That is, the group
column entries for them will be their names.
.addMissingGroupings(data)
data |
A data frame returned by |
Other utilities-plotting:
.convertGeneralToSpecificPlotConfiguration()
,
.createAxesLabels()
,
.extractAggregatedSimulatedData()
df <- dplyr::tibble(
group = c(
"Stevens 2012 solid total",
"Stevens 2012 solid total",
NA,
NA,
NA
),
name = c(
"Organism|Lumen|Stomach|Metformin|Gastric retention",
"Stevens_2012_placebo.Placebo_total",
"Stevens_2012_placebo.Sita_dist",
"Stevens_2012_placebo.Sita_proximal",
"Stevens_2012_placebo.Sita_total"
),
dataType = c(
"simulated",
"observed",
"observed",
"observed",
"observed"
)
)
# original
df
# transformed
ospsuite:::.addMissingGroupings(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.