View source: R/plot.hero_radspline.R
plot.hero_radspline | R Documentation |
hero_radspline
Plot a hero_radspline
to compare the knots to the
observed data locations.
## S3 method for class 'hero_radspline'
plot(
x,
blist = list(col = "grey"),
glist = list(col = seq_along(x$grid) + 1, pch = seq_along(x$grid)),
...
)
x |
A |
blist |
A list to pass the plot method associated
with |
glist |
A list to pass the plot method associated
with |
... |
Additional arguments to pass the plot method
associated with |
If the default plotting styles for x$grid
are to
be changed, the user can either choose a single
color/style that is replicated for each element of
x$grid
or supply a vector which has length
matching length{x$grid}
. See Examples.
Joshua French
radspline
border = border.grid(lon, lat)
r = radspline(nknots = c(36, 36 * 4), border = border)
# default color scheme
plot(r)
# change color and point styles of points,
# and background of original domain
plot(r, blist = list(col = "yellow"),
glist = list(col = c("blue", "orange"),
pch = 3:4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.