read.dat: Read Wheel Running Data

Description Usage Arguments Details Value Author(s) Examples

Description

Read Wheel Running Data

Usage

1
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

1
2
3
4
5
6
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 May 20, 2019, 12:51 p.m.