diff options
author | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2024-02-01 10:39:53 +0100 |
---|---|---|
committer | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2024-02-01 10:39:53 +0100 |
commit | 904a86fa92f1577414f2fce2bdbfe21e12381106 (patch) | |
tree | f1384a12882bff584334932e533d060338e1e0ad /R/drift_parameters_focus.R | |
parent | 7bf5aad5e3b89c157d1b31a586ee87a25386117d (diff) |
Calculate drift percentages and PECsw using the Rautmann formula
Diffstat (limited to 'R/drift_parameters_focus.R')
-rw-r--r-- | R/drift_parameters_focus.R | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/R/drift_parameters_focus.R b/R/drift_parameters_focus.R index 6a456c6..c5e5661 100644 --- a/R/drift_parameters_focus.R +++ b/R/drift_parameters_focus.R @@ -4,6 +4,11 @@ #' using the R code given in the file `data_generation/drift_parameters_focus.R` #' installed with this package. The appendix itself is not included in the package, #' as its licence is not clear. +#' +#' For the hinge distance, `Inf` was substituted for the cases where no hinge +#' distance is given in the data, in this way parameters C and D are never +#' used for any distance if A and B are used for the case that the distance +#' is smaller than the hinge distance. #' #' @name drift_parameters_focus #' @docType data @@ -23,4 +28,5 @@ #' @keywords datasets #' @examples #' drift_parameters_focus +#' unique(drift_parameters_focus$crop_group) "drift_parameters_focus" |