R/as.Catalog.R

Defines functions as.Catalog

Documented in as.Catalog

as.Catalog <- function(x) {
        if ( is.Catalog(x, ignore.class = TRUE) == FALSE ) { stop('Cannot coherce x to class Catalog.') }
        class(x) <- 'Catalog'
        return(x)
}

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.