load_fish: load_fish

Description Usage Arguments Details Examples

View source: R/load_fish.R

Description

Load in the data correctly for oto_makro.

Usage

1
load_fish(fish, dir = getwd(), format = "txt", sep = "\t")

Arguments

fish

name of the file to be loaded

dir

path to a folder

format

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

sep

separator used by the file to be loaded (default is tab)

Details

Automatically load in the data the way it's needed for oto_makro. Returns a R object.

Examples

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

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