roiPlot: Plot and summary diagnostic of ROI-GLS calibration

Description Usage Arguments Examples

Description

The function roiPlot draw the prediction variance and the GCV of the calibrated ROI-GLS model in respect of the number of sites in the provided list nk. Also, most of the function use to analyse the output of a lm model avaible to analyse the GLS model in its OLS form. See roiGLS.

Usage

1
2
3
4
5
roiPlot(obj, iiform = NULL, xlab = "Number of sites",
  ylab = "Model error", ylim = NULL, pos = "topright", type = NULL, ...)

## S3 method for class 'roiGls'
summary(obj)

Arguments

obj

A ROI-GLS model. Normally output of function roiGls

iiform

Indices of the formula to plot. By default the formula of the best calibration.

...

Other parameter for the generic plot function

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
xd <- ungaugedDemoData()

fit <- roiGls(y ~ x,
              xd$data[-1,], xd$data[1,],  S = xd$S[-1,-1],
              distance = xd$distance[1,-1],
              nk = seq(20,100,10))

roiPlot(fit, type = 'l')

print(fit)

summary(fit)

coef(fit)

residuals(fit)

martindurocher/floodRFA documentation built on June 5, 2019, 8:44 p.m.