GenEst (version 1.2.4)

updatesizeCol: Update the name of the size class column based on available names

Description

Update the size class column name based on the available options. If the existing size class column name is no longer in the set of available names, a NULL is returned to reset the column name.

Usage

updatesizeCol(sizeCol, colNames_size)

Arguments

sizeCol

current size class column name

colNames_size

updated vector of size column names in all needed tables

Value

updated sizeCol