Learn R Programming

Brobdingnag (version 1.0-4)

Extract.brob: Extract or Replace Parts of brobs or glubs

Description

Extract or replace subsets of brobs or glubs

Usage

x[i]
x[i] <- value

Arguments

x
Object of class brob or glub
i
elements to extract or replace
value
replacement value

Value

  • Always returns an object of the same class as x.

Examples

Run this code
a <- as.brob(10)^c(-100,0,100,1000,1e32)

a[4]

a[4] <- 1e100

a

Run the code above in your browser using DataLab