calc_E1: function calculating the E1 measurement

Description Usage Arguments Value Author(s) Examples

View source: R/calc_E1.R

Description

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

Usage

1
calc_E1(A, Aest)

Arguments

A

real mixing matrix

Aest

estimated mixing matrix

Value

E1 measurement (numeric)

Author(s)

Niya Wang <wangny@vt.edu>

Examples

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

UNDO documentation built on Nov. 8, 2020, 7:53 p.m.