library(BioCro)
library(BioCroValidation)
objective_function(
soybean,
list(example1 = list(
data = within(soyface_biomass$ambient_2002, time <- (DOY - 1)* 24),
drivers = soybean_weather[['2002']],
weight = 1
)),
independent_args = list(
RL_at_25 = soybean$parameters$RL_at_25
),
verbose_startup=TRUE
)
This code returns the following error message:
The independent arguments and their initial values:
List of 1
$ RL_at_25: num 1.28
The dependent arguments and their initial values:
Error in dependent_arg_function(independent_args) :
could not find function "dependent_arg_function"
This code returns the following error message: