combine_files: Combine files from same animal into a tibble

View source: R/dataimport.R

combine_filesR Documentation

Combine files from same animal into a tibble

Description

Takes a list of .txt files from the same animal and produces a tibble with all variables

Usage

combine_files(filepaths, baseline = 5, exposure = 7,
  baselinestart = 7, maxbaseline = 5)

Arguments

filepaths

a character vector of file names for the same animal

baseline

number of days in baseline condition, defaults to 5

exposure

number of days in exposure condition, defaults to 7

baselinestart

number indicating start of light period, defaults to 7 (= 07:00)

maxbaseline

number of maximum baseline days in experiment, defaults to 5

Value

a tibble


VegardLysne/bssg documentation built on Aug. 26, 2022, 3:16 p.m.