clean.RIC {Animal}R Documentation

Clean RIC roughage intake log file

Description

Performs the following clean ups on RIC roughage intake files: Removes lines with Cow number 0 and lines with negative feed intake and visits with 0 duration. Equal using clean=T with read.RIC.

Usage

clean.RIC(data)

Arguments

data A data.frame read in with read.RIC

Value

Cleaned data.frame

Author(s)

Matti Pastell <matti.pastell@helsinki.fi>

See Also

read.RIC, bouts.RIC

Examples

data(RIC)
cleaned.data <- clean.RIC(RIC)

[Package Animal version 1.01 Index]