read.dat: Read Wheel Running Data

View source: R/read.dat.R

read.datR Documentation

Read Wheel Running Data

Description

Read Wheel Running Data

Usage

read.dat(file, tab.delim = FALSE)

Arguments

file

either a comma-separated (.DAT) or tab-delimited (.txt) wheel running data file

tab.delim

Logical for whether the file is tab delimited or not. Default is FALSE, because unmodified DAT files are comma-separated. If the file has been opened, modified, and resaved, then it is probably tab delimited.

Details

Read either a comma-separated (.DAT) or tab-delimited (.txt) wheel running data file.

Value

A data.frame of wheel running data.

Author(s)

Kevin Middleton (middletonk@missouri.edu)

Examples

A <- read.dat(system.file("extdata", "061105A.DAT", package="binning"))
dim(A)

D <- read.dat(system.file("extdata", "061105D.DAT", package="binning"))
dim(D)
# D has 6 fewer columns = 2 fewer wheels.

kmiddleton/binning documentation built on June 14, 2025, 11:02 a.m.