R/plotLayers.R

Defines functions plotLayers

Documented in plotLayers

# Version 5.0
# 13-10-2014
plotLayers <- function(...){
                for ( l in list(...) ) {
                        FUN = l$FUN
                        if (is.null(FUN)) { stop('Each layer must have a FUN= member.') }
                        l$FUN <- NULL
                        do.call(FUN, l)
                }
        }

Try the vetools package in your browser

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

vetools documentation built on May 2, 2019, 10:15 a.m.