| print.gp.list {mlegp} | 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 gp.list |
nums |
optionally, a vector of integers corresponding to Gaussian processes in the list to summarize |
... |
for compatibility with generic method print |
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 gdancik@iastate.edu
http://www.public.iastate.edu/~gdancik/mlegp/
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