Learn R Programming

poolABC (version 1.0.0)

normalise: Normalize data - adjust values measured on different scales

Description

Adjusts values that are measured over different scales.

Usage

normalise(x, y)

Value

a numeric vector with the same length as x.

Arguments

x

is a numeric vector.

y

is a numeric vector.

Details

This function is used to scale the summary statistics and the target for ABC inference. This scaling ensures that the different summary statistics are all in the same scale when performing model selection or parameter inference.