plotDeviationsBoxes | R Documentation |
Produces boxplots of the deviations of the observed values from the smoothed values over values of x.
plotDeviationsBoxes(data, observed, smoothed, x.factor,
x.title = NULL, y.titles = NULL,
facet.x = ".", facet.y = ".",
facet.labeller = NULL,
facet.scales = "fixed",
angle.x = 0,
deviations.plots = "absolute",
ggplotFuncs = NULL, printPlot = TRUE, ...)
data |
A |
observed |
A |
smoothed |
A |
x.factor |
A |
x.title |
Title for the x-axis. If |
y.titles |
A |
facet.x |
A |
facet.y |
A |
facet.labeller |
A |
facet.scales |
A |
angle.x |
A |
deviations.plots |
A |
ggplotFuncs |
A |
printPlot |
A |
... |
allows passing of arguments to |
A list whose components are named absolute
and relative
; a
component will contain an object of class "ggplot
" when the plot has been
requested using the deviations.plots
argument and a NULL
otherwise.
The objects can be plotted using print
.
Chris Brien
plotMedianDeviations
, probeSmoothing
, ggplot
.
data(exampleData)
plotDeviationsBoxes(longi.dat, observed = "PSA", smoothed = "sPSA",
x.factor="DAP", facet.x.pf = ".", facet.y= ".", df =5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.