Learn R Programming

errors (version 0.4.2)

c.errors: Combine Values into a Vector or List

Description

S3 method for errors objects (see c).

Usage

# S3 method for errors
c(..., recursive = FALSE)

Arguments

...

objects to be concatenated. All NULL entries are dropped before method dispatch unless at the very beginning of the argument list.

recursive

logical. If recursive = TRUE, the function recursively descends through lists (and pairlists) combining all their elements into a vector.

Examples

Run this code
c(set_errors(1, 0.2), set_errors(7:9, 0.1), 3)

Run the code above in your browser using DataLab