Skip to contents

This function performs a Monte Carlo simulation of the ahels method.

Usage

monte_carlo_ahels(
  existing,
  mraster,
  nFrac = 0.1,
  matrices = NULL,
  cores = NULL,
  ...
)

Arguments

existing

A data frame of existing samples

mraster

A raster object acting as the population

nFrac

Scalar to use to define the number of samples to add using ahels

matrices

Population maxtrix

cores

The number of cores to use for the parallel calculation.

...

Further arguments passed to the ahelsmethod function.

Value

A nested dataframe with the ahels samples.