cbind.errors {errors} | R Documentation |
Combine R Objects by Rows or Columns
Description
S3 methods for errors
objects (see cbind
).
Usage
## S3 method for class 'errors'
cbind(..., deparse.level = 1)
## S3 method for class 'errors'
rbind(..., deparse.level = 1)
Arguments
... |
(generalized) vectors or matrices. These can be given as named
arguments. Other R objects may be coerced as appropriate, or S4
methods may be used: see sections ‘Details’ and
‘Value’. (For the |
deparse.level |
integer controlling the construction of labels in
the case of non-matrix-like arguments (for the default method): |
See Also
Examples
x <- set_errors(1, 0.1)
y <- set_errors(1:3, 0.2)
(m <- cbind(x, y)) # the '1' (= shorter vector) is recycled
(m <- cbind(m, 8:10)[, c(1, 3, 2)]) # insert a column
cbind(y, diag(3)) # vector is subset -> warning
cbind(0, rbind(x, y))
[Package errors version 0.4.2 Index]