change_effort_varName: Standardisation of effort data column names.

View source: R/change_varName.R

change_effort_varNameR Documentation

Standardisation of effort data column names.

Description

Attribute standard names to column names of effort data.frame for the next steps of the analysis.

Usage

change_effort_varName(effort_base)

Arguments

effort_base

Data.frame containing column names to standardize.

Value

This function return the same data.frame as in input with the standardized column name.

Note

When "strate_sec" is not found at the end of the function, it creates a strate_sec column automatically corresponding to the merge of "subRegion" and "strate". There are merged by "_". Example, for a row, if strate = N1 and subRegion = ATL we will get strateSec = ATL_N1.


MathieuGenu/geffaeR documentation built on March 23, 2022, 7:50 p.m.