postprocessing: Test for model extrapolations or interpolations and removal...

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Departures of values predicted by autopls from the original data space and removal of exceedingly extrapolated predictions.

Usage

1
2
  liability (object, prediction)
  confine (object, prediction, tolerance)

Arguments

object

object of class autopls

prediction

predicted values as single vector or single layer raster image (RasterLayer from package raster).

tolerance

maximum departure of preserved prediction values

Details

Takes its time with large images and many objects used in calibration.

Value

Vector or raster image depending on the type of prediction Uncertainties (liability function) are given in original units. After confine, values exceeding tolerance are replaced by NA.

Author(s)

Sebastian Schmidtlein

See Also

autopls, predict.autopls

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
  ## load predictor and response data to the current environment
  data (murnau.X)
  data (murnau.Y)
  
  ## call autopls with the standard options
  model <- autopls (murnau.Y ~ murnau.X)

  ## new data
  new <- murnau.X + 500 

  ## prediction
  pred <- predict (model, new)

  ## check uncertainty
  liability (model, pred)

  ## remove predictions with uncertainty value > 5
  confine (model, pred, 5)

autopls documentation built on May 2, 2019, 9:39 a.m.