R style accesors for the
These are the hash accessor methods. They closely follow an R style.
$ is a look-up operator for a single key. The native
method is used. The key is taken as a string literal and is not
[[ is the look-up, extraction operator. It returns the values of
a single key.
[ is a subseting operator. It returns a (sub) hash with the specified
keys. All other keys are removed.
\$ and [[ return the value for the supplied argument. If a key does not
match an existing key, then
NULL is returned with a warning.
[ returns a hash slice, a sub hash with only the defined keys.
1 2 3 4 5 6 7 8 9 10 11 12
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.