Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/burnProbability.R
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,8 @@ if(requiresResample) {
updateRunLog("\nBurn Summary:\n",
nrow(OutputFireStatistic), " fires burned. \n",
sum(OutputFireStatistic$ResampleStatus == "Discarded"), " fires discarded due to being below the specified Minimum Fire Size.\n",
round(proportionKept * 100, 0), "% of all simulated fires were above the minimum fire size.\n",
round(sum(OutputFireStatistic$ResampleStatus == "Not Used") / max(1, nrow(OutputFireStatistic %>% filter(Iteration == 0))) * 100, 0), "% of extra simulated fires not used because target ignition counts were already met.\n")
if(requiresResample) paste(round(proportionKept * 100, 0), "% of all simulated fires were above the minimum fire size.\n",
round(sum(OutputFireStatistic$ResampleStatus == "Not Used") / max(1, nrow(OutputFireStatistic %>% filter(Iteration == 0))) * 100, 0), "% of extra simulated fires not used because target ignition counts were already met.\n"))

updateRunLog("Finished summarizing burn status and resampling fires in ", updateBreakpoint())

Expand Down