homogenize.wRef: Homogeneous time series data with reference series

View source: R/homogenize.wRef.R

homogenize.wRefR Documentation

Homogeneous time series data with reference series

Description

Get the turning points of monthly and yearly data

Usage

homogenize.wRef(
  d,
  metadata = NULL,
  prefix = "./OUTPUT/example01",
  verbose = FALSE
)

homo_withRef(
  site_target,
  df_day,
  st_refs,
  siteHomoInfo,
  nmax = 5,
  ...,
  debug = TRUE
)

homo_withRef_multi(
  df_day,
  st_refs,
  siteHomoInfo,
  nmax = 5,
  ...,
  debug = FALSE,
  .parallel = TRUE
)

Arguments

d

A data.frame of the inputdata:

  • if 3 columns, they are date, varname and ref, and homo with ref will be used.

  • if 2 columns, they are date, varname, and homo without ref will be used.

metedata

A data.frame with column date indicating turning point


kongdd/RHtestsHelper documentation built on April 18, 2023, 1:57 a.m.