## ---- include = FALSE--------------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) ## ----setup-------------------------------------------------------------------- library(scenfire) ## ----parallel-example--------------------------------------------------------- # Dummy data for demonstration (replace with your actual data) set.seed(123) historical_data_for_target <- floor(fit_powerlaw(n = 500, alpha = 2, xmin = 10, xmax = 10000)) event_surfaces <- fit_powerlaw(n = 10000, alpha = 2, xmin = 10, xmax = 10000) # Discard simulated fires that are too large (below 110% max historical size) event_surfaces <- event_surfaces[event_surfaces