Extract.brob | R Documentation |
Methods for "["
and "[<-"
, i.e., extraction or
subsetting of brobs and glubs.
x |
Object of class brob or glub |
i |
elements to extract or replace |
value |
replacement value |
Always returns an object of the same class as x
.
If x
is a numeric vector and y
a brob, one might expect
typing x[1] <- y
to result in x
being a brob. This is
impossible, according to John Chambers.
Robin K. S. Hankin
a <- as.brob(10)^c(-100,0,100,1000,1e32)
a[4]
a[4] <- 1e100
a
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.