spatPomp
objectsVisualize data in a spatPomp
object or a derived class.
This gives a quick view; the data can be extracted from
the object to make a customized plot.
# S4 method for spatPomp
plot(x, type = c("l", "h"), log = FALSE, plot_unit_names = TRUE, ...)# S4 method for igirfd_spatPomp
plot(x, params = names(coef(x)), ncol = 3)
a ggplot
plot of class ‘gg’ and ‘ggplot’.
a spatPomp
object
for visualizing an object of class spatPomp
, the user
can obtain a grid of line plots by default (l
) or a heat map by
supplying argument h
.
should the data be transformed to log10(x+1)
before plotting?
This helps in contexts where there are spikes that could take away
attention from the dynamics illustrated by the rest of the data.
allows suppression of unit names when making a heat map for a large number of units
for visualizing an object of class spatPomp
, the user
can add arguments like nrow
to specify the number of rows in the
grid.
allows selection of a subset of parameters when making a diagnostic plot for a model with many parameters
the number of columns in the grid plot