resscls: Get the scale parameters for predicted values
Description
Get the scale parameters for predicted values of the response variable, only applies to tidalmean objects.
Usage
resscls(dat_in, ...)
# S3 method for tidalmean
resscls(dat_in, dat_pred = NULL, ...)
Value
Appends columns to the data.frame for the associated scale value for the predicted values. A column is appended to the dat_in object, named `scls'.
Arguments
dat_in
input tidalmean object
...
arguments passed to or from other methods
dat_pred
optional data to predict using the interpolation grids in dat_in, defaults to observed data in dat_in if not supplied
Details
This function is used after wrtds to get scale parameters for predicted values of the response variable from the interpolation grids. The values are based on a bilinear interpolation of the four predicted response values at two salinity/flow and two date values nearest to the observed salinity/flow and date values to predict.