Learn R Programming

R.oo (version 1.3.0)

DOLLAR.BasicObject: Makes the fields and methods of an BasicObject accessable via the $ and the [[ operator

Description

Makes the fields and methods of an BasicObject accessable via the $ and the [[ operator.

Usage

## S3 method for class 'BasicObject':
$(this, name)
  ## S3 method for class 'BasicObject':
[[(this, name)

Arguments

name
The name of the field or method to be accessed.

Value

  • Returns the value of a field or a method (function). If no such field or method exists, NULL is returned.

See Also

For more information see BasicObject.