copy.gp(spectralGP)
copy.gp()所属R语言包:spectralGP
Copy a spectral GP object.
复制的光谱GP对象。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Creates a new copy of a spectral GP object, with new memory allocated for the object, or copies the elements of one spectral GP object to another one that is already in existence.
创建一个新的副本的光谱GP对象,为对象分配新的内存,或,一个光谱GP对象的元素复制到另外一个已经存在的。
用法----------Usage----------
## S3 method for class 'gp':
copy(object, object2 = NULL,...)
参数----------Arguments----------
参数:object
Spectral GP object to be copied.
光谱GP要复制的对象。
参数:object2
Already existing spectral GP object to which the elements of object should be copied. If NULL, the function returns a newly-created copy of object.
已经存在的光谱GP对象的元素object应该被复制。如果为NULL,函数返回一个新创建的副本object。
参数:...
Other arguments.
其他参数。
Details
详细信息----------Details----------
This function copies an object of class gp. More details on the spectral representation of GPs can be found in Paciorek (2006).
该函数将一个GP的类的对象。更多细节,可以找到GPS的频谱表示在Paciorek(2006年)。
值----------Value----------
An object of class gp. If object2 is specified, returns NULL.
GP的类的对象。如果object2指定,返回NULL。
(作者)----------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(128,matern.specdens,c(0.5,4))
copy(gp1,gp2) # gp2 is now a copy of gp1, with first parameter equal to 1[GP2是现在的副本GP1,等于1的第一个参数]
gp3=copy(gp1)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|