toSpatial: Convert snowload datasets to spatial data frames

Description Usage Arguments Value

View source: R/toSpatial.R

Description

This function is a simple wrapper to sp package functions to create spatial data frame objects with a common projection. The function assumes that the variable name conventions of the datasets internal to the snowload package. It is not intended to be used on datasets outside of the snowload package.

Usage

1
toSpatial(tdata)

Arguments

tdata

A string naming one of the datasets internal to the snowload package.

Value

A spatial version with the same coordinate extent as the utdem SpatialPixelsDataFrame. (Also internal to the snowload package.)


beanb2/snowload documentation built on Jan. 7, 2020, 9:48 p.m.