Learn R Programming

manureshed (version 0.1.2)

batch_analysis_parallel: Batch Analysis with Parallel Processing

Description

Run batch analysis using multiple cores for faster processing

Usage

batch_analysis_parallel(years, n_cores = NULL, ...)

Value

List of results

Arguments

years

Numeric vector. Years to analyze

n_cores

Integer. Number of cores (default: detectCores() - 1)

...

Arguments passed to run_builtin_analysis

Examples

Run this code
# \donttest{
results <- batch_analysis_parallel(
  years = 2015:2016,  # Use valid years only
  n_cores = 2,        # Max 2 cores for CRAN
  scale = "county",   # Use county for faster processing
  nutrients = "nitrogen"
)
# }

Run the code above in your browser using DataLab