check_agelen_data {halk}R Documentation

Check for age/length data in the data being estimated or predicted

Description

These are just simple helper functions used within other functions that check to make sure that ages and lengths are present in the data and stop the fucntion call if they are missing

Usage

check_age_data(data, age_col)

check_length_data(data, size_col)

Arguments

data

A data.frame

age_col

Character. The column name for the age column in data

size_col

Character. The column name for the size column in data

Value

NULL. An error will be called if age/length data is missing


[Package halk version 0.0.5 Index]