Description Usage Arguments Value Author(s) References Examples
Generic function for comverting the soybean harvest data to yield (unit: bushels/acre with 13 percent misture)
1 | adjusted_weight(weight, moisture, standard_moisture, standard_bushel_weight, ...)
|
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 |
The form of the value return by this function will be a list of numeric values.
Helen Lin
https://purr.purdue.edu/publications/1600/serve/1/3332?el=3&download=1
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.