rejABC: Perform an ABC analysis given simulations

Description Usage Arguments Value

Description

Perform an ABC analysis given simulations

Usage

1
2
rejABC(stats, obs, subset = 1:ncol(stats), dist = "weightedEuclidean",
  nacc = 200, nCores = detectCores())

Arguments

stats

A matrix of simulated summary statistics.

obs

A vector of observed summary statistics.

subset

A numeric vector specifying which summaries should be used.

dist

What distance function to use. Currently choose either "weightedEuclidean" or "rank".

nacc

How many simulations to accept.

nCores

Number of parallel cores to use.

Value

A vector specifying which rows of stats were accepted.


dennisprangle/rainfallABC documentation built on May 15, 2019, 3:26 a.m.