alf_dist.Rd
Compute and save to disk probability distributions of random variables from extracted ALFRESCO outputs.
alf_dist(j, in_dir, out_dir, period, reps, project = NULL)
j | integer, iterator, the sequence of unique geographic regions available among the extracted data. |
---|---|
in_dir | input directory where extracted data are located in .rds files. |
out_dir | output directory where random variables distribution tables are saved as .rds files. |
period | character, |
reps | integer vector, simulation replicates included in data extraction, e.g., |
project | character, inferred from |
This function estimates discrete probability distributions of random variables from extracted ALFRESCO model runs. The random variables available include fire size, burn area and fire frequency by vegetation class, as well as cover area and age for a vegetation class.
This function estimates probability distributions for outputs from run_alf_extraction.
# NOT RUN { mclapply(1:n, alf_dist, in_dir, out_dir, period = period, mc.cores = mc.cores) # }