Description Usage Arguments Examples
Improved vector subsetting
| 1 2 | ## S3 method for class 'composer_vector'
x[i, ...]
 | 
| x | a composer_vector | 
| i | standard indices used to subset | 
| ... | predicate subsetting functions applied on top off subset by indices | 
| 1 2 3 4 | vec <- co("A hello", "B hi")
vec[,~startsWith(.,"A")]
vec[1:2, ~startsWith(.,"A")]
vec[startsWith ="A"]
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.