Description Usage Arguments Details Value Author(s) References See Also Examples
Simulates a process realization by drawing a random draw of coefficients from their prior distribution and updating the process values.
1 2 |
object |
A GP object, created by |
... |
Other arguments. |
Modifies the coeff
and process
elements 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
, zero.coeff.gp
, propose.coeff.gp
, updateprocess.gp
1 2 3 4 5 6 7 | library(spectralGP)
gp1=gp(128,matern.specdens,c(1,4))
gp2=gp(c(64,64),matern.specdens,c(1,4))
simulate(gp1)
simulate(gp2)
plot(gp1)
plot(gp2)
|
Package spectralGP (1.3.3) is loaded.
===============================================================
WARNING: spectralGP uses objects in the form of environments,
thereby passing by reference. Various method functions make
changes to the input gp object as a side effect, thereby
changing the object in the calling environment, and
returning NULL.
===============================================================
Attaching package: 'spectralGP'
The following object is masked from 'package:stats':
simulate
Note that the spatial range parameter is interpreted based
on the process living on a (0,1)^d grid
Note that the spatial range parameter is interpreted based
on the process living on a (0,1)^d grid
NULL
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.