combine_years: Combine years of stomach data.

View source: R/combine_years.R

combine_yearsR Documentation

Combine years of stomach data.

Description

Combine years of stomach data, e.g. assign stomach data from 2014 and 2015 to the same year, e.g. 2014

Usage

combine_years(stom, year_file, verbose = FALSE)

Arguments

stom

Stomach data set of class STOMobs, from e.g. read_exchange_data.

year_file

File Name for csv file including the variable year_old, year_new and predator.

verbose

Logical for showing details

Value

Stomach data of class STOMobs with where the years are changed according to the specifications in file year_file..

Examples

## Not run: combine_year(s,year_file="combine_year_10.csv")

MortenVinther/FishStomachs documentation built on Feb. 14, 2025, 7:33 a.m.