extract-methods: Get the value of a key associated with a dictionary.

Description Arguments Examples

Description

You can use the adict['key'] syntax to access key/values from within a dictionary–much like Python, Ruby, or Perl.

You can use the adict['key'] syntax to set key/values from within a dictionary–much like Python, Ruby, or Perl.

Use much like length(list()) or length(c(1, 2, 3)).

You can use the adict[idx] syntax to access items from within a list–much like Python, Ruby, or Perl.

You can use the alist[idx] syntax to set items within a list–much like Python, Ruby, or Perl.

Generic function that calls the string method for a list.

Generic function for caclulating the sum of the items in a list. If an item is not numeric an error occurs.

Generic function for caclulating the cumsum of the items in a list. If an item is not numeric an error occurs.

Generic function for caclulating the sin of the items in a list. If an item is not numeric an error occurs.

Generic function for caclulating the cos of the items in a list. If an item is not numeric an error occurs.

Generic function for caclulating the sign of the items in a list. If an item is not numeric an error occurs.

Use much like length(list(1, 2, 3)) or length(c(1, 2, 3)).

Arguments

x

a list

...

named args

Examples

1
as.character(list.py(1, 2, 3, 4))

yhat/structr documentation built on May 4, 2019, 2:33 p.m.