extract_rep_table: Extract the vectors from a list into a 'tibble::tibble()'

View source: R/utils-extract-rep-table.R

extract_rep_tableR Documentation

Extract the vectors from a list into a tibble::tibble()

Description

Extract the vectors from a list into a tibble::tibble()

Usage

extract_rep_table(reps_lst, header, progress_n = 500, verbose = TRUE, ...)

Arguments

reps_lst

A list of vectors, all the same length and structure, typically extracted as a portion of a Report.sso file

header

A vector of column names for the new table

progress_n

Report every time this many data frames are processed. Consider how many posteriors there are, this should be a fairly large proportion of that (around 1/8th) or there will be too much output and it will run really slow

verbose

Logical. If TRUE, show message about which iteration and row range is being populated from the loop

...

Absorb arguments meant for other functions

Value

A tibble::tibble() representing one row for each of the list elements found in reps_lst. A new column called Iter is prepended and represents the list element number that the data for each row came from. List elements that are NA will not be included in the table.


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