print.gp.list | R Documentation |
prints a summary of a Gaussian process list object, or (a subset) of its components
## S3 method for class 'gp.list' print(x, nums = NULL, ...)
x |
an object of class |
nums |
optionally, a vector of integers corresponding to Gaussian processes in the list to summarize |
... |
for compatibility with generic method |
if nums
is NULL
, prints summary information for the Gaussian process list object x
, using summary.gp.list
if nums
is not NULL
, prints summary information for each Gaussian process specified by nums
, using summary.gp
Garrett M. Dancik dancikg@easternct.edu
https://github.com/gdancik/mlegp/
summary.gp.list
, summary.gp
x = -5:5 y1 = sin(x) + rnorm(length(x),sd=.1) y2 = sin(x) + 2*x + rnorm(length(x), sd = .1) fitMulti = mlegp(x, cbind(y1,y2)) print(fitMulti) ## summary of the Gaussian process list print(fitMulti, nums = 1:2) ## summary of Gaussian processes 1 and 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.