get.start.end.levels: Find the levels given ordered start and end positions of...

Description Usage Arguments Value

View source: R/tools.r

Description

Find the levels given ordered start and end positions of possible nested blocks

Usage

1
get.start.end.levels(start, end, start.level = 1L)

Arguments

start

vector of start positions of the blocks

end

vector of end positions of the blocks

start.level

the initial level

Value

a vector of levels of each blocks, moore deeply nested blocks have higher levels


skranz/rmdtools documentation built on Dec. 17, 2017, 2:11 p.m.