calcweeklywts: Calculate Cattle weekly weights

Description Usage Arguments Value Author(s)

Description

This function pulls in the daily weights weights for individual or groups of cattle for specified periods and calculates average weekly weights. It searches based on a list of RFID values. It is recommended that you use the propsearch function to find a list of cattle RFID numbers for a particular property. If you need assistance please email [email protected] to seek help or suggest improvements.

Usage

1
2
3
calcweeklywts(RFID, start = NULL, end = NULL, values = NULL,
  s.d = NULL, remove.duplicates = NULL, username = NULL,
  password = NULL)

Arguments

RFID

this is a list of cattle RFID numbers

start

provide a start date to be returned, this has to be in date format.

end

provide a end date to be returned, this has to be in date format.

values

this is the minimum number of weight values that need to included to calculate an average weekly weight. The default is 4.

remove.duplicates

if TRUE, duplicate date time values are removed from the weekly weight calculation. The default is TRUE.

username

if you don't have a username set up using the dmaccess function you can pass a username, if no value added then the function looks for a value from dmaccess via keyring

password

if you include a username you will also need to add a password contact Lauren O'Connor if you don't have access

sd

this is the minimin standard deviation between daily weight values needed to calculate an average weekly weight. The default is 25.

Value

A dataframe of weekly weight statistics for each RFID number.

Author(s)

Dave Swain [email protected] and Lauren O'Connor [email protected]


PrecisionLivestockManagement/DMMongoDB documentation built on June 21, 2019, 3:35 a.m.