當前位置: 首頁>>編程示例 >>用法及示例精選 >>正文


R semat 評估網格預測的克裏金標準誤差

R語言 semat 位於 spatial 包(package)。

說明

評估網格預測的克裏金標準誤差。

用法

semat(obj, xl, xu, yl, yu, n, se)

參數

obj

surf.gls 返回的對象

xl

網格矩形的限製

xu

ditto

yl

ditto

yu

ditto

n

在矩形內使用n x n網格

se

距離為零處的標準誤差作為所提供協方差的倍數。否則進行估計,並假設提供了相關函數。

包含適合 contourimage 的組件 x、y 和 z 的列表。

例子

data(topo, package="MASS")
topo.kr <- surf.gls(2, expcov, topo, d=0.7)
prsurf <- prmat(topo.kr, 0, 6.5, 0, 6.5, 50)
contour(prsurf, levels=seq(700, 925, 25))
sesurf <- semat(topo.kr, 0, 6.5, 0, 6.5, 30)
contour(sesurf, levels=c(22,25))

參考

Ripley, B. D. (1981) Spatial Statistics. Wiley.

Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.

也可以看看

surf.gls , trmat , prmat

相關用法


注:本文由純淨天空篩選整理自R-devel大神的英文原創作品 Evaluate Kriging Standard Error of Prediction over a Grid。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。