Extract.errors | R Documentation |
S3 operators to extract or replace parts of errors
objects.
## S3 method for class 'errors' x[...] ## S3 method for class 'errors' x[[...]] ## S3 replacement method for class 'errors' x[...] <- value ## S3 replacement method for class 'errors' x[[...]] <- value
x |
object from which to extract element(s) or in which to replace element(s). |
... |
additional arguments to be passed to base methods
(see |
value |
typically an array-like R object of a similar class as |
x <- set_errors(1:3, 0.1) y <- set_errors(4:6, 0.2) (z <- rbind(x, y)) z[2, 2] z[2, 2] <- -1 errors(z[[1, 2]]) <- 0.8 z[, 2]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.