impute_apsim_met: Perform imputation for missing data in a met file
Description
Takes in an object of class ‘met’ and imputes values
Usage
impute_apsim_met(
met,
method = c("approx", "spline", "mean"),
verbose = FALSE,
...
)
Value
an object of class ‘met’ with attributes
Arguments
- met
object of class ‘met’
- method
method for imputation, ‘approx’ (approxfun
),
‘spline’ (splinefun
) or ‘mean’ (mean
).
- verbose
whether to print missing data to the console, default = FALSE
- ...
additional arguments to be passed to imputation method