Description Usage Arguments Examples
Add sequence attribute
1 | bstr_add_seq_at(bstrobj, attr_name, attrs)
|
bstrobj |
bstr class object or character vector |
attr_name |
one string. an attribute name. |
attrs |
sequence attributes. its length must equal to the length object |
1 2 3 4 5 6 | temp <- dstr_rand_seq(3, 200, seed = 1) %>%
bstr_add_seq_at("circle", c(TRUE, FALSE, TRUE))
temp
temp %>% str
# dstr_rand_seq(3, 200) %>% bstr_add_seq_at("circle", TRUE)
temp %>% bstr_add_seq_at("circle", c(FALSE, TRUE, TRUE))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.