rsse: Simulation error measures.

Description Usage Arguments Value Author(s) Examples

View source: R/rsse.R

Description

Computes error measures between two sets of data.

Usage

1
2
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

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

rsse(a,b)

abctools documentation built on May 29, 2017, 12:42 p.m.