getElement.vital: Assign or Extract Items from the Environment of a Vital...

Description Usage Arguments Methods (by generic)

View source: R/vital.R

Description

Extraction methods return NULL if the item is not defined, just like for lists.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
getElement.vital(object, name)

## S3 method for class 'vital'
x$name

## S3 replacement method for class 'vital'
x$i <- value

## S3 replacement method for class 'vital'
x[[i]] <- value

## S3 method for class 'vital'
x[[i]]

## S3 method for class 'vital'
x[i]

Arguments

x, object

The vital function.

i, name

The name of the item to extract.

value

The new value to assign.

Methods (by generic)


petrelharp/landsim documentation built on May 25, 2019, 2:53 a.m.