R/print.site.R

#' @export

print.site <- function(x, ...){
  class(x) <- 'data.frame'
  
  print(format(data.frame(site.name = x$site.name, 
                          long = x$long,
                          lat = x$lat,
                          elev = x$elev),
               justify='left'), row.names=FALSE)

  cat(paste0('A site object containing ',nrow(x),' sites and 8 parameters.\n'))
  
}

Try the neotoma package in your browser

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

neotoma documentation built on May 2, 2019, 1:10 p.m.