plotPD | R Documentation |
Function to plot partial dependence plots with bootstrap uncertainties
plotPD(
dw_model,
variable = "all",
intervals = 40,
ylim = NULL,
ylab = NULL,
col = "tomato",
nrow = NULL,
polar.wd = FALSE,
auto.text = TRUE,
plot = TRUE
)
dw_model |
Model object from running |
variable |
The variable(s) to plot. Defaults to |
intervals |
Number of intervals to to calculate partial dependence over. |
ylim |
user-specified |
ylab |
y-axis label. By default this is the pollutant name. |
col |
Colour for the panels. Passed to |
nrow |
Number of rows for the plots. |
polar.wd |
Plot the any wind direction components, labelled "wd", on a
polar axis? Defaults to |
auto.text |
Either |
plot |
Should a plot be produced? |
Invisibly returns a list containing the plot, plot
, a list of
individual plots, panels
, and a list of the data used to create them,
data
. plot
is a patchwork object, so
can be further manipulated using &
and
ggplot2.
David Carslaw
Other deweather model plotting functions:
plot2Way()
,
plotInfluence()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.