Description Usage Arguments Details Examples
Runs some functions of ototools.
1 2 |
fish |
name of the files to be loaded |
format |
format of the files to be loaded (either txt or csv); has to be the same for every file, default is txt |
sep |
the separator used by the files to be loaded; has to be the same for every file, default is tab |
basic |
a dfr with some basic measurements for the fish analysed |
catch_day |
name of the column containing the catch day in julian days |
dir |
path to a folder common to all elements of fish as well as basic |
section |
which sections to be loaded. Has to be part of the filename! |
Uses load_fish + oto_makro + master_tab for a list with n filenames. If basic is given, it will merge basic to the mastertable created by master_tab. If catch_day is given it will add julday in addition to ring_no. Will automatically add the moving average based on the method published by Huessy et al. 2003. Will automatically calculate the otolith radius at increment x.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #rm(list = ls())
fish <- c("708", "708")
format <- "csv"
sep <- ";"
test <- basic[, names(basic) != "age"]
catch_day <- "catchday"
x <- master_func(fish = fish, format = format, sep = sep,
basic = test, catch_day = catch_day, dir = substr(getwd(), 1, 11))
x
x <- master_func(fish = fish, format = format, sep = sep, dir = substr(getwd(), 1, 11))
x
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.