R/ge.spdf2SPDF.R

ge.spdf2SPDF  <- function(spdf) {
        grd  <- spdf
        sp::gridded(grd)  <- TRUE
        grd_SPDF  <- as(grd, "SpatialPolygonsDataFrame")
        return(grd_SPDF)
}
bwtian/geothermaR documentation built on May 13, 2019, 9:25 a.m.