expand.gpgrid.gp(spectralGP)
expand.gpgrid.gp()所属R语言包:spectralGP
Calculate grid locations for a spectral GP object.
计算网格位置一个光谱GP对象。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This is a version of expand.grid that calculates the grid locations for a spectral GP object. Gridpoints representing the part of the domain in which the periodicity of the GP emerges are omitted.
这是一个版本的expand.grid,计算网格位置的光谱GP对象。网格点代表的周期性出现的GP域的部分被省略了。
用法----------Usage----------
## S3 method for class 'gp':
expand.gpgrid(object,...)
参数----------Arguments----------
参数:object
A GP object, created by gp.
一个GP对象,创建的gp。
参数:...
Other arguments.
其他参数。
Details
详细信息----------Details----------
Note that this function is not named expand.grid.gp because expand.grid is a function, and not an S3 method.
请注意,这个函数是不能命名为expand.grid.gp,因为expand.grid是一个函数,而不是一个S3的方法。
值----------Value----------
A matrix of grid locations with the first column the x-dimension and the second the y-dimension, or for one dimensional processes, a vector of grid locations.
A矩阵的网格的位置与第一列x维和第二y维度,或为一维的过程,一个向量的网格位置。
(作者)----------Author(s)----------
Christopher Paciorek <a href="mailto:paciorek@alumni.cmu.edu">paciorek@alumni.cmu.edu</a>
参考文献----------References----------
<h3>See Also</h3>
实例----------Examples----------
library(spectralGP)
gp1=gp(128,matern.specdens,c(1,4))
gp2=gp(c(64,64),matern.specdens,c(1,4))
grid1=expand.gpgrid(gp1)
grid2=expand.gpgrid(gp2)
plot(grid2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|