adjusted_weight: Soybean weight (adjusted to 13 percent moisture)

Description Usage Arguments Value Author(s) References Examples

Description

Generic function for comverting the soybean harvest data to yield (unit: bushels/acre with 13 percent misture)

Usage

1
adjusted_weight(weight, moisture, standard_moisture, standard_bushel_weight, ...)

Arguments

weight

the weight (numeric vector) from combine (unit:lb)

moisture

the moisture (numeric vector) from combine (unit:percentage)

standard_moisture

the standard moisture (numeric value) of the harvest crop.

standard_bushel_weight

the standard weight for one bushel (numeric value) of the harvest crop.

...

let function have more flexibility

Value

The form of the value return by this function will be a list of numeric values.

Author(s)

Helen Lin

References

https://purr.purdue.edu/publications/1600/serve/1/3332?el=3&download=1

Examples

1
2
3
4
5
6
7
test <- data.frame("Plot_ID" = 1:3, 
                   "Treatment" = c("A","B","C"), 
                   "weight" = c(5.55,5.87,6.5),
                   "moisture"=c(12.1,12.3,12.4), 
                    stringsAsFactors = FALSE)

adjusted_weight(test$weight, test$moisture, 13, 60)

henganl2/Yield documentation built on May 8, 2019, 1:36 a.m.