R/fortify.bathy.R

Defines functions fortify.bathy

Documented in fortify.bathy

fortify.bathy <- function(model, data, ...) {
  # Convert an object of class bathy into a data.frame, for ggplot
  # x   object of class bathy

  x <- as.xyz(model)
  names(x) <- c("x", "y", "z")
  return(x)
}

Try the marmap package in your browser

Any scripts or data that you put into this service are public.

marmap documentation built on March 31, 2023, 6:59 p.m.