Sets coefficients to zero in a spectral GP object

Share:

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

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

Arguments

object

A GP object, created by gp.

...

Other arguments.

Details

Modifies the coeff and process components 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, simulate.gp, updateprocess.gp

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.