Learn R Programming

spectralGP (version 1.3.3)

zero.coeff.gp: Sets coefficients to zero in a spectral GP object

Description

Sets coefficients to zero in a spectral GP object. Used to zero out the coefficients before simulating a new GP realization from the prior distribution.

Usage

# S3 method for gp
zero.coeff(object,...)

Value

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

Arguments

object

A GP object, created by gp.

...

Other arguments.

Author

Christopher Paciorek paciorek@alumni.cmu.edu

Details

Modifies the coeff and process components of the object.

References

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

See Also

gp, simulate.gp, updateprocess.gp