cbind.rv {rv}R Documentation

Combine random vectors by columns or rows

Description

Combines random vectors by columns (cbind.rv) or rows (rbind.rv).

Usage

 ## S3 method for class 'rv':
 cbind(..., deparse.level = 1)
 ## S3 method for class 'rv':
 rbind(..., deparse.level = 1)

Arguments

... vectors or matrices, can be rv objects
deparse.level (passed on to cbind)

Details

See cbind and rbind for details.

Author(s)

Jouni Kerman jouni@kerman.com

References

Kerman, J. and Gelman, A. (2007). Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Statistics and Computing 17:3, 235-244.

See also vignette("rv").

Examples

  x <- rvnorm(10)
  y <- rvnorm(10)
  cbind(x,y)
  rbind(x,y)

[Package rv version 1.0 Index]