Learn R Programming

rv (version 0.949)

cbind.rv: 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(\dots, deparse.level = 1)
 ## S3 method for class 'rv':
rbind(\dots, deparse.level = 1)

Arguments

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

Details

See cbind and rbind for details.

References

Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.

Examples

Run this code
x <- rvnorm(10)
  y <- rvnorm(10)
  cbind(x,y)
  rbind(x,y)

Run the code above in your browser using DataLab