count2blocks: Produce index pairs for vector of counts

View source: R/Rdata.R

count2blocksR Documentation

Produce index pairs for vector of counts

Description

Produce index pairs for vector of counts

Usage

count2blocks(counts)

Arguments

counts

vector of integers specifying counts

Value

vector of pairs of indeces indicating the first and last element in a vector for the blocks specified by counts


sboehringer/plausibility documentation built on Dec. 6, 2022, 11:34 a.m.