updateprocess.gp: Recalculate process values in a spectral GP object

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

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.

Usage

1
2
## S3 method for class 'gp'
updateprocess(object,...)

Arguments

object

A GP object, created by gp.

...

Other arguments.

Details

Modifies the process values of the object.

Value

The function modifies the GP object, which is essentially a pointer (an R environment in this case), so NULL is returned.

Author(s)

Christopher Paciorek paciorek@alumni.cmu.edu

References

Type 'citation("spectralGP")' for references.

See Also

gp, propose.coeff.gp, simulate.gp, zero.coeff.gp

Examples

1
2
3
4
5
library(spectralGP)
gp1=gp(128,matern.specdens,c(1,4))
propose.coeff(gp1)
gp1$coeff[1,1]=0
updateprocess(gp1)


Search within the spectralGP package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.