View source: R/setup_modeldata.R
setup_modeldata | R Documentation |
setup modeldata based on fsca or rcn as predictor
setup_modeldata(snoteltoday.sp, phvsnotel, simfsca, SNOW_VAR, PHV_VARS,
PATH_RCNDOWNLOAD)
snoteltoday.sp |
spatialpoints data frame of the pillow data for the simulation date |
phvsnotel |
dataframe containing the physiographic values for the pixels that contain pillow stations |
simfsca |
raster. modscag image of fsca for the simulation date |
SNOW_VAR |
character string identifying the snow related regression variable. this should have been setup in the runfile |
PHV_VARS |
formula with the independent physiographic variables for the regression |
PATH_RCNDOWNLOAD |
path for the location of recondata*.nc files used with SNOW_VAR is 'rcn' |
a list with 3 items. 1. dataframe with all variables needed to fit the regression model 2. dataframe with all variables needed to predict on the same grid as the fsca image 3. a formula for predicting
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.