Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


apsimx (version 2.2)

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,
  ...
)

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

Value

an object of class ‘met’ with attributes