Skip to contents

Set up the ts_obj fitting object

Usage

setup_fitting_ts(
  ts_obj,
  pfpr,
  jdates,
  yr0 = 2015,
  t_neg_inf = -365,
  N = 1,
  gof_method = "ts_sse"
)

Arguments

ts_obj

a ramp.xds model object

pfpr

a PfPR time series

jdates

julian dates for pfpr

yr0

the starting year

t_neg_inf

a starting year

N

the number of interpolation points for hindcasting and forecasting

gof_method

to dispatch compute_gof

Value

a ramp.xds model object