R/CoExClass.R

Defines functions CoExClass

Documented in CoExClass

CoExClass <- function(x) {
    if (class(x) == "spgeoOUT") {
        pp <- .CoExClassH(x$spec_table)
        x$coexistence_classified <- pp
        return(x)
    } else {
        stop("function is only defined for class \"SpgeoOUT\". \n  See .CoExClassH() for single \"data.frames\"")
    }
} 

Try the speciesgeocodeR package in your browser

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

speciesgeocodeR documentation built on May 30, 2017, 12:34 a.m.