I appear to get an error message when explicitly specifying both Dt=NULL & Thoriz=as.numeric() arguments in the calibration_metrics function, or even just the Thoriz argument on its own without Dt.
calibration_metrics(JMB2, newdata = newdata, Tstart=i, Dt=NULL, Thoriz=8)
Error in calibration_plot(object, newdata, Tstart, Dt = Dt, df_ns = df_ns, :
either 'Thoriz' or 'Dt' must be non null.
I think this small bug is made by the missing Thoriz argument in the calibration_plot function. I think explicitly adding this argument to line 408 would solve this issue.
I appear to get an error message when explicitly specifying both
Dt=NULL
&Thoriz=as.numeric()
arguments in thecalibration_metrics
function, or even just theThoriz
argument on its own without Dt.I think this small bug is made by the missing
Thoriz
argument in thecalibration_plot
function. I think explicitly adding this argument to line 408 would solve this issue.Many thanks, Harry