Plots Kriged surfaces of functional characteristics
plot.kriged_surfaces.Rd
plot.kriged_surfaces()
produces spatial landscape plots of kriged surfaces produced by krige_surf
.
Usage
# S3 method for kriged_surfaces
plot(x, alpha = 0.5, pt.col = "black",
interpolate = TRUE, contour = TRUE, ...)
Arguments
- x
a
kriged_surfaces
object; the output of a call tokrige_surf
.- alpha, pt.col
when a
new_data
component is present inx
, the transparency (alpha
) and color (pt.col
) of the points plotted for the new samples.- interpolate
logical
; whether to smooth the plot by interpolating across pixels in the grid. Passed toggplot2::geom_raster
.- contour
logical
; whether to add contour lines to the plot to illustrate changes in the fitness landscape.- ...
ignored.
Details
plot.kriged_surfaces()
is a wrapper for ggplot2 raster plotting functions. For more precise control of raster plotting see ggplot2::geom_raster
.
See also
ggplot2::ggplot
, ggplot2::geom_raster
, and ggplot2::geom_contour
for the underlying plotting functions. See also sp::spplot
for alternative plotting functions.
krige_surf
for generating the kriged surfaces. krige_new_data
for adding a new_data
component to an existing kriged surface before plotting.