impute_apsim_met: Perform imputation for missing data in a met file

View source: R/apsim_met.R

impute_apsim_metR 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


apsimx documentation built on Sept. 11, 2024, 5:42 p.m.