test_oto: test_oto

Description Usage Arguments Details Examples

View source: R/test_oto.R

Description

Quick check for one otolith.

Usage

1
2
test_oto(fish, format = "txt", sep = "\t", dir = getwd(),
  section = NULL, add.plot = TRUE)

Arguments

fish

name of the file to be loaded

format

format of the file to be loaded (either txt or csv); default is txt

sep

the separator used by the file to be loaded; default is tab

dir

working directory

section

which sections to be loaded. Has to be part of the filename!

add.plot

Logical. If TRUE (default), a plot with ring width VS ring number will be created additionally.

Details

Uses load_fish + oto_makro + plot_growth. Returns a dfr and a plot.

Examples

1
2
3
4
#rm(list = ls())
fish <- "708"
format <- "csv"
test_oto(fish = fish, format = format, sep = ";", dir = substr(getwd(), 1, 11))

reneplonus/ototools documentation built on May 3, 2019, 4:05 p.m.