| str.blocks.pos | R Documentation |
We allow for nested blocks. The position matrix also has an attribute level that describes the level of each block
## S3 method for class 'blocks.pos' str(str, start, end, ignore = NULL, ignore.start = ignore, ignore.end = ignore, fixed = TRUE, fixed.start = fixed, fixed.end = fixed)
## Not run:
str = '1+(5*(2+3)+(2+(4-1)))'
# 123456789012345678901
str.blocks.pos(str,"(",")")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.