Description Usage Arguments Value Examples
These are straightforward wrappers around [[. The main
advantage is that you can provide an optional secondary vector that defines
the ordering, and provide a default value to use when the input is shorter
than expected.
1 2 3 4 5  | 
x | 
 A vector  | 
n | 
 For  If a double is supplied, it will be silently truncated.  | 
order_by | 
 An optional vector used to determine the order  | 
default | 
 A default value to use if the position does not exist in
the input. This is guessed by default for base vectors, where a
missing value of the appropriate type is returned, and for lists, where
a  For more complicated objects, you'll need to supply this value.
Make sure it is the same type as   | 
A single value. [[ is used to do the subsetting.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.