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 namedlen_bin'

Examples

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

ben-williams/datacall documentation built on Oct. 30, 2020, 5:46 p.m.