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(s) to use for the lines/points/uncertainty ribbons. If
multiple colours are provided (e.g., |
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 and the data used to
make the plot to allow post processing, e.g., modifying the ggplot
.
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.