Description Creating Objects Slots Methods Examples
Container class that specializes the list construct of R to provide content and access control
new('container', x = [list], content = [character], locked = [logical])
list of entities that are guaranteed to share a certain property
tag describing container contents
boolean indicator of locked status. Value of TRUE implies assignments into the container are not permitted
Class-specific methods:
content(container)
returns content
slot of argument
locked(container)
returns locked
slot of argument
Standard methods defined for 'container':
show(container)
prints container
length(container)
returns number of elements in the container
[[(index)
and [[(index, value)
access and replace elements in the container
[(index)
make a subset of a container (which will itself be a container)
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.