binDist(cutoffs,include.lowest = FALSE,right = TRUE)
Get the distribution of simulations of the data within fixed bins.
Valuean ArrayData.
debug(string)
A function for debugging the methods of this class. It calls the browser command. In order for methods to opt into to debugging, they need to implement the following code at the beginning: if(<method_name> %in% private$.debug){browser()}. This method exists, because the debugger is not always intuitive when it comes to debugging R6 methods.
initialize(data=SimulatedIncidenceMatrix$new(),forecastTimes=c())
Create a new IncidenceForecast.
mean(trim = 0,na.rm = FALSE)
This method extracts the elementwise mean of the forecast. This function will not change the number of rows or columns in the data, but will convert probabilistic estimates into deterministic ones.
ValueAn IncidenceMatrix with the mean over all simulations.
median(na.rm=FALSE)
This method extracts the elementwise median of the forecast. This function will not change the number of rows or columns in the data, but will convert probabilistic estimates into deterministic ones.
Valuea MatrixData.
quantile(probs,na.rm=FALSE,names=TRUE,type=7)
Get the cutoffs for each percentile in probs.
Valuean ArrayData where the rows and columns correspond to the .
undebug(string)
A function for ceasing to debug methods. Normally a method will call the browser command every time it is run. This command will stop it from doing so.