predict.trls(spatial)
predict.trls()所属R语言包:spatial
Predict method for trend surface fits
趋势面适合的预测方法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Predicted values based on trend surface model object
趋势面模型对象的基础上的预测值
用法----------Usage----------
## S3 method for class 'trls'
predict(object, x, y, ...)
参数----------Arguments----------
参数:object
Fitted trend surface model object returned by surf.ls
合身趋势面模型对象返回surf.ls
参数:x
Vector of prediction location eastings (x coordinates)
向量的预测位置东进(x坐标)
参数:y
Vector of prediction location northings (y coordinates)
向量的预测位置的北向(y坐标)
参数:...
further arguments passed to or from other methods. </table>
进一步的参数传递给其他方法。 </ TABLE>
值----------Value----------
predict.trls produces a vector of predictions corresponding to the prediction locations. To display the output with image or contour, use trmat or convert the returned vector to matrix form.
predict.trls产生一个对应的预测位置的预测矢量。显示输出image或contour,使用trmat或返回的向量转换成矩阵形式。
参考文献----------References----------
Modern Applied Statistics with S. Fourth edition. Springer.
参见----------See Also----------
surf.ls, trmat
surf.ls,trmat
实例----------Examples----------
data(topo, package="MASS")
topo2 <- surf.ls(2, topo)
topo4 <- surf.ls(4, topo)
x <- c(1.78, 2.21)
y <- c(6.15, 6.15)
z2 <- predict(topo2, x, y)
z4 <- predict(topo4, x, y)
cat("2nd order predictions:", z2, "\n4th order predictions:", z4, "\n")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|