View source: R/bwb_rain_corr_wide.R
splitIntoBlocks | R Documentation |
Split Character Vector Into Blocks of Lines
splitIntoBlocks(x, pattern, offset.start = 0, offset.stop = 0)
x |
vector of lines of character |
pattern |
pattern maching the start lines of the blocks |
offset.start |
offset added to the indices matching the block starts to identify the first lines of the blocks to be cut |
offset.stop |
offset defining the end of the blocks. A value of zero
(default) means that a block ends one line before the start of the next
block (a line matching |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.