Learn R Programming

abctools (version 1.1.7)

rsse: Simulation error measures.

Description

Computes error measures between two sets of data.

Usage

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

Value

The RSSE between dataset a and b.

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.

Author

Matt Nunes

Examples

Run this code

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

rsse(a,b)

Run the code above in your browser using DataLab