diff options
Diffstat (limited to 'inst/data_generation')
-rw-r--r-- | inst/data_generation/drift_parameters_focus.R | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inst/data_generation/drift_parameters_focus.R b/inst/data_generation/drift_parameters_focus.R index d685cdf..1c344f8 100644 --- a/inst/data_generation/drift_parameters_focus.R +++ b/inst/data_generation/drift_parameters_focus.R @@ -22,7 +22,8 @@ combined$crop_group = c( drift_parameters_focus <- combined |> mutate(across(2:3, as.integer)) |> - mutate(across(4:8, as.numeric)) + mutate(across(4:8, as.numeric)) |> + mutate(hinge = if_else(is.na(hinge), Inf, hinge)) save(drift_parameters_focus, file = here("data/drift_parameters_focus.RData")) |