updateprocess.gp {spectralGP} | R Documentation |
Calculates the process values in a spectral GP object based on the current coefficient values. The process values are calculated by multiplying the coefficient values by the basis matrix, which is done by the inverse FFT.
updateprocess.gp(object,...)
object |
A GP object, created by gp . |
... |
Other arguments. |
Modifies the process
values of the object.
The function modifies the GP object, which is essentially a pointer (an R environment in this case), so NULL is returned.
Christopher Paciorek paciorek@alumni.cmu.edu
Type 'citation("spectralGP")' for references.
gp
,propose.coeff.gp
,simulate.gp
,zero.coeff.gp
##---- Should be DIRECTLY executable !! ---- ##-- ==> Define data, use random, ##-- or do help(data=index) for the standard data sets. library(spectralGP) gp1=gp(128,matern.specdens,c(1,4)) propose.coeff(gp1) gp1$coeff[1,1]=0 updateprocess(gp1)