rvcov {rv} | R Documentation |
rvcov
rvcov(x, y=NULL, ...)
x |
a random vector |
y |
(optional) a random vector |
... |
further arguments passed to or from other methods |
rvcov
A covariance matrix.
Jouni Kerman kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman
Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.
x <- rvnorm(mean=1:3) y <- rvnorm(mean=2:4) rvcov(x,y) rvcov(x,x)