mlegp (version 3.1.8)

summary.gp.list: Gaussian Process List Summary Information

Description

prints a summary of a Gaussian process list object, or (a subset) of its components

Usage

# S3 method for gp.list
summary(object, nums = NULL, ...)

Arguments

object

an object of type gp.list

nums

optionally, a vector of integers corresponding to Gaussian processes in the list to summarize

for compatibility with generic method summary

Details

if nums is NULL, prints out a summary of the Gaussian process list

if nums is not NULL, displays a summary of the Gaussian processes specified by nums by calling summary.gp for each Gaussian process

References

https://github.com/gdancik/mlegp/

See Also

summary.gp

Examples

Run this code
# NOT RUN {
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))
summary(fitMulti)  ## summary of the Gaussian process list
summary(fitMulti, nums = 1:2) ## summary of Gaussian processes 1 and 2
# }

Run the code above in your browser using DataCamp Workspace