rsse {abctools}R Documentation

Simulation error measures.

Description

Computes error measures between two sets of data.

Usage

rsse(a, b, v = 1)
sse(a, b, v = 1)

Arguments

a

Dataset 1, of dimension (n x p)

b

Dataset 2: of dimension (1 x p) or a vector.

v

an optional factor to normalise the data before computation of the RSSE.

Value

The RSSE between dataset a and b.

Author(s)

Matt Nunes

Examples


a<-matrix(rnorm(1000),ncol=2)
b<-runif(2)

rsse(a,b)


[Package abctools version 1.1.7 Index]