Skip to contents

Set up the xds_obj fitting object

Usage

setup_fitting(
  xds_obj,
  pfpr,
  jdates,
  t_neg_inf = 3650,
  N = 10,
  pr_diagnostic = "rdt",
  gof_method = "sse"
)

Arguments

xds_obj

a ramp.xds model object

pfpr

a PfPR time series

jdates

julian dates for pfpr

t_neg_inf

a date (in the past) to use for burnin

N

the number of interpolation points for hindcasting and forecasting

pr_diagnostic

the method used to estimate the PfPR data

gof_method

to dispatch compute_gof

Value

a ramp.xds model object