Learn R Programming

abctools (version 1.0.4)

rsse: 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

a and b.

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