Learn R Programming

spectralGP (version 1.3.2)

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 class 'gp':
zero.coeff(object,\dots)

Arguments

object
A GP object, created by gp.
...
Other arguments.

Value

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

Details

Modifies the coeff and process components of the object.

References

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

See Also

gp, simulate.gp, updateprocess.gp