Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

DOLLARLT_-.BasicObject

Makes the fields and methods of an BasicObject assignable via the \$<- and the [[<- operator


Description

Makes the fields and methods of an BasicObject assignable via the \$<- and the [[<- operator.

Usage

## S3 replacement method for class 'BasicObject'
this$name <- value
  ## S3 replacement method for class 'BasicObject'
this[[name]] <- value

Arguments

name

The name of the

set<Name>()

method or the name of the field to be assigned the new value.

value

The value to be assigned.

Value

Returns itself, i.e. this, as all $<- methods must do.

Author(s)

Henrik Bengtsson

See Also

For more information see BasicObject.


R.oo

R Object-Oriented Programming with or without References

v1.24.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.