load_extra_mcmc_get_chunk: Extracts a vector of lines of data or output (a chunk) from...

View source: R/load-extra-mcmc-get-chunk.R

load_extra_mcmc_get_chunkR Documentation

Extracts a vector of lines of data or output (a chunk) from each element of a list of identically-formatted vectors, typically read in from files with identical formats (SS3 Report files)

Description

Extracts a vector of lines of data or output (a chunk) from each element of a list of identically-formatted vectors, typically read in from files with identical formats (SS3 Report files)

Usage

load_extra_mcmc_get_chunk(lst, beg_pat, end_pat, ...)

Arguments

lst

A list of identically-formatted vectors, typically from a call to readLines() where each file is identically-formatted

beg_pat

A regular expression that marks the beginning of the chunk of data

end_pat

A regular expression that marks the end of the chunk of data

Value

A list of vectors of output or data, each list element will have the exact same number of lines and the same structure within those lines


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.