Learn R Programming

ananke (version 0.1.0)

mutators: Get or Set Parts of an Object

Description

Getters and setters to extract or replace parts of an object.

Value

An object of the same sort as x with the new values assigned.

Arguments

x

An object from which to get or set element(s).

value

A possible value for the element(s) of x.

Author

N. Frerebeau

See Also

Other mutators: as.data.frame(), as.list(), labels(), subset()