rb(SpatialExtremes)
rb()所属R语言包:SpatialExtremes
Creates a model using penalized smoothing splines
创建一个模型,使用惩罚的平滑样条曲线
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Creates a model using penalized smoothing splines using radial basis functions
创建一个模型,采用基于径向基函数的处罚平滑样条
用法----------Usage----------
rb(..., knots, degree, penalty)
参数----------Arguments----------
参数:...
The explicative variables for which the spline is based on.
的诠释变量样条曲线的基础上。
参数:knots
The coordinates of knots. See section details.
节的坐标。部分细节。
参数:degree
Numeric. The degree of the spline.
数字。样条曲线的程度。
参数:penalty
Numeric. The penalty coefficient.
数字。惩罚系数。
Details
详细信息----------Details----------
If one explicative variable is given in "...", the knots should be a numeric vector. Otherwise, knots should be a matrix with the same number of column and covariates.
如果一个的诠释变量中给出了“...”,knots应该是一个数值向量。否则,knots应该是与相同数目的列和协变量的矩阵。
值----------Value----------
A list giving all the required information to fit a penalized smoothing spline:
的名单给所有需要的信息,以适应处罚的平滑样条曲线:
参数:dsgn.mat
The design matrix.
设计矩阵。
参数:pen.mat
The penalization matrix.
处罚矩阵。
参数:degree
The degree of the smoothing spline.
平滑样条的程度。
参数:penalty
The penalty of the smoothing spline.
的平滑样条的处罚。
参数:knots
The knots of the smoothing spline.
节的平滑样条。
参数:data
The explicative variables (e.g. covariates).
的诠释变量的(例如协变量)。
参数:call
How was the rb function was called?
rb功能是如何叫什么名字?
警告----------Warning----------
This function is not supposed to be called directly. rb is supposed to be embedded in a R formula.
是不应该直接调用此函数。 rb应该是被嵌入在一个R公式。
(作者)----------Author(s)----------
Mathieu Ribatet
参见----------See Also----------
fitmaxstab
fitmaxstab
实例----------Examples----------
n.site <- 30
locations <- matrix(runif(2*n.site, 0, 10), ncol = 2)
colnames(locations) <- c("lon", "lat")
knots <- quantile(locations[,2], 1:5/6)
form <- y ~ rb(lat, knots = knots, degree = 3, penalty = .5)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|