dissplot {BayesDissolution} | R Documentation |
Dissolution Data Plot
Description
This function plots dissolution data sets.
Usage
dissplot(
dis_data,
tp = NULL,
pch = c(19, 17),
color = c("gray65", "black"),
groups = c("Reference", "Test"),
legend_location = "bottomright",
xlab = "Time Points",
ylab = "Percentage Dissolved",
mean = FALSE,
var = FALSE,
var_label = TRUE,
...
)
Arguments
dis_data |
A data frame containing the dissolution data. The first column of the data frame should denote
the group labels identifying whether a given dissolution belongs to the "reference" or "test" formulation group.
For a given dissolution run, the remaining columns of the data frame contains the individual run's dissolution
measurements sorted in time. Alternatively, the user may provide a data object of class dis_data containing the
dissolution data. See the |
tp |
An optional vector of time points at which the dissolution data is measured at. |
pch |
A vector of two elements specifying the plotting character to use for each group. If only one value is passed then the plotting character is the same for both groups. |
color |
A vector of two elements specifying the color in the plot to associate with each group. If only one value is passed then the color choice is the same for both groups. |
groups |
A vector of two elements specifying the name to use for each group in the plot. |
legend_location |
A string that denotes the location of where the legend should appear. Possible options are "left", "top", "bottom", "right", and any logical combination of the four, e.g., "bottomright" or "topleft". |
xlab |
A string specifying the x-axis label. |
ylab |
A string specifying the y-axis label. |
mean |
logical; if |
var |
logical; if |
var_label |
logical; if |
... |
other graphical parameters commonly found in plot.default |
Value
The function returns a plot of the dissolution data.
Examples
### dis_data comes loaded with the package
dissplot(dis_data)