comb_func: comb_data

Description Usage Arguments Details Examples

View source: R/comb_func.R

Description

Combine two tables.

Usage

1
comb_func(x, y, by = "id")

Arguments

x

a tibble given by oto_makro

y

additional informations for (each) fish in x

by

columns to be joined by.

Details

Performs a left_join with two datasets. Will merge by id as default, but can merge by every other column as well.

Examples

1
2
3
4
5
#rm(list = ls())
x <- oto_makro(x = example[,3], y = example[,4], fish_no = "708")
y <- basic
y$age <- as.numeric(y$age)
combi <- comb_func(x = x, y = y, by = c("id", "age"))

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