| is.gp | R Documentation |
Test for a Gaussian process object or a Gaussian process list object
is.gp(x) is.gp.list(x)
x |
object to be tested |
is.gp returns TRUE or FALSE, depending on whether its argument inherits the gp class or not
is.gp.list returns TRUE or FALSE, depending on whether its argument inherits the gp.list class or not
Garrett M. Dancik dancikg@easternct.edu
https://github.com/gdancik/mlegp/
## fit a single Gaussian process ## x = -5:5; y1 = sin(x) + rnorm(length(x),sd=.1) fit1 = mlegp(x, y1) is.gp(fit1) ## returns TRUE is.gp.list(fit1) ## returns FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.