Learn R Programming

UNDO (version 1.14.0)

calc_E1: function calculating the E1 measurement

Description

A function used to calculate the E1 measurement when the real mixing matrix is provided

Usage

calc_E1(A, Aest)

Arguments

A
real mixing matrix
Aest
estimated mixing matrix

Value

E1 measurement (numeric)

Examples

Run this code
A <- matrix(runif(4),2,2)
Aest <- matrix(runif(4),2,2)
E1 <- calc_E1(A,Aest)  # to calculate the similarity of two randowm 2*2 matrix

Run the code above in your browser using DataLab