oto_makro: oto_makro

Description Usage Arguments Details Examples

View source: R/oto_makro.R

Description

Otolith reading makro.

Usage

1
oto_makro(x_coord, y_coord, fish_no)

Arguments

x_coord

a vector that will be converted to numeric, is supposed to be x coordinates from imagePRO

y_coord

a vector that will be converted to numeric, is supposed to be y coordinates from imagePRO

fish_no

number of the fish or whatever chosen to identify different individual

Details

The function was created to deal with the output from imagePRO. It simply applies the Pythagoras' theorem between each line and the folling one of two vectors. Returns a tibble with the folloing values: ring_no, ring_width, hc, oto_rad, age and id.

Examples

1
2
#rm(list = ls())
oto_makro(x_coord = example[,3], y_coord = example[,4], fish_no = 708)

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