modeldef(SpatialExtremes)
modeldef()所属R语言包:SpatialExtremes
Define a model for the spatial behaviour of the GEV parameters
定义一个空间的行为模式的GEV参数的
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function defines the model for the spatial behaviour of the GEV parameter.
此功能的空间行为的模型的GEV参数的定义。
用法----------Usage----------
参数----------Arguments----------
参数:data
A matrix representing the data. Each column corresponds to one location.
矩阵表示数据。每一列对应于一个位置。
参数:formula
A R formula. See details for further details.
A R公式。查看详细资料作进一步的细节。
值----------Value----------
need to be documented
需要记录
(作者)----------Author(s)----------
Mathieu Ribatet
参见----------See Also----------
formula
formula
实例----------Examples----------
## 1- A design matrix from a classical linear model [#1 - 从传统的线性模型的设计矩阵]
n.site <- 5
coord <- matrix(rnorm(2*n.site, sd = sqrt(.2)), ncol = 2)
colnames(coord) <- c("lon", "lat")
loc.form <- loc ~ lat + I(lon^2)
modeldef(coord, loc.form)
## 2- A design and penalization matrix from a penalized smoothin spline[#2 - 从处罚的基音平滑样条的设计和处罚矩阵]
x <- sort(runif(10, -2, 10))
n.knots <- 3
knots <- quantile(x, prob = 1:n.knots / (n.knots + 2))
modeldef(x, y ~ rb(x, knots = knots, degree = 3, penalty = 1))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|