Description Usage Arguments Details Value
A function that implements inverse distance weighting using normalized ground snow loads.
1 2 3 |
formula |
A formula that is passed to the idw function in the sp package. |
locations |
The measurement locations to be used for interpolation. An object of class SpatialPointsDataFrame |
newdata |
The prediction locations. An objet of class SpatialPointsDataFrame, SpatialGridDataFrame, or SpatialPixelsDataFrame. |
tlayer |
The elevation (in meters) on which to split the data. The Idaho snow load report splits the state into two layers using 4000 ft (1219.2 meters) as a cutoff. This variable can also be set to NA, at which point an automatic separating elevation method is applied (see details). |
power |
A vector of length 2 indicating the exponent in the inverse distance weighting for the lower and upper elevations respectively. |
NGSL |
If true, used normalized ground snow loads, which are simply snow loads divided by elevation. This is the way elevation is accounted for in the 2015 Idaho study. |
bound_output |
If true, the final predictions are capped at the range of observed data. |
corMethod |
(only relevant if tlayer = NA). The method by which correlations are determined when deciding on a separating elevation. Valid options include "pearson", "spearman" and "kendall" |
print |
If true, gstat package messages are printed to the screen, as well as the separating elevation. |
One of the great challenges of this method is the proper selection of a separating elevation.
An appended version of the newdata class containing a column named "idw_snow".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.