impute_apsim_met {apsimx}R Documentation

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


[Package apsimx version 2.6.2 Index]