load_single_file: Load a single .txt data file from "data quest art" software

View source: R/dataimport.R

load_single_fileR Documentation

Load a single .txt data file from "data quest art" software

Description

Load a single .txt file with two columns, and creates column names. File name should be "Variablename_groupname_animalID.txt", as these are used to create column names, as well as group and id columns.

Usage

load_single_file(path, baseline = 5, exposure = 7, baselinestart = 7,
  maxbaseline = 5)

Arguments

path

path to file

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 baseline in hours (e.g. 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.