--- title: "select-events" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{select-events} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- ```{r, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) ``` ```{r setup} library(scenfire) ``` ```{r 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