purrit: helper function for comp data

Description Usage Arguments Examples

View source: R/purrit.R

Description

helper function for comp data

Usage

1
purrit(obs, pred = NULL, rec_age, plus_age, comp = "length", lenbins = NULL)

Arguments

obs

observed data from .rep file

pred

predicted data from .rep file (if used)

rec_age

recruitement age

plus_age

plus age group

comp

'age' or 'length' - default is length

lenbins

set to base unless using alt in which case the file should be in the 'user_input“ folder and the name needs to be provided e.g., 'lengthbins.csv' - the column must be named 'len_bin'

Examples

1
purrit(obs, pred = NULL, rec_age, plus_age, comp = "length", lenbins = "lengthbins.csv")

BenWilliams-NOAA/rockfishr documentation built on March 1, 2021, 11:12 p.m.