R/sdraw.SpatialLines.r

Defines functions sdraw.SpatialLines

Documented in sdraw.SpatialLines

#' @rdname sdraw
#'  
#' @method sdraw SpatialLines
#'
#' @aliases sdraw,SpatialLines-method 

sdraw.SpatialLines <- function(x, n, type, ...){
  
  ans <- switch(type,
                BAS = bas.line( x, n, ...), 
                SSS = sss.line( x, n, ...),
                SRS = srs.line( x, n, ...),
                GRTS = grts.line( x, n, ...), 
                stop( paste("Invalid SpatialLines sample type =", type))
  )
  
  ans
  
}

Try the SDraw package in your browser

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

SDraw documentation built on July 8, 2020, 6:23 p.m.