rename_laa_cols {halk} | R Documentation |
Simple helper function to rename size and age column names to age and length
rename_laa_cols(
data,
size_col = "length",
age_col = "age",
num_col = NULL,
goback = FALSE
)
data |
Any data.frame with some columns representing age and size |
size_col |
Character. The name of the column containing sizes |
age_col |
Character. The name of the column containing ages |
num_col |
Character. The name of the column containing number of individuals |
goback |
Logical. Reverse names once they've already been renamed |
A data.frame the same as data
, but with names changed