fix_posteriors: Remove multiple header/data rows found in posteriors files to...

View source: R/utils-fix-posteriors.R

fix_posteriorsR Documentation

Remove multiple header/data rows found in posteriors files to leave just one

Description

Remove multiple header/data rows found in posteriors files to leave just one

Usage

fix_posteriors(fn)

Arguments

fn

File name for the posterior file

Value

Nothing. If the file contains only one header/data row (i.e is of correct format) then nothing happens. If it contains more than one header row, remove the second header and everything else after that in the file and overwrite the file


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