diff_norm: MM Algorithm - Normed Difference

Description Usage Arguments Author(s) Examples

View source: R/mmalgorithm.R

Description

diff_norm Function for finding the normed difference between two matrices based on vector containing indices of differing elements

Usage

1
diff_norm(X, Z, omega)

Arguments

X

Original data matrix

Z

Model matrix for comparison

omega

Set of unobserved indices

Author(s)

Jocelyn T. Chi

Examples

1
2
3
4
5
Z <- matrix(rnorm(9,0,1),3,3)
X <- matrix(rnorm(9,0,2),3,3)
omega <- c(2,5,6)

diff_norm(X,Z,omega)

gettingtothebottom documentation built on May 29, 2017, 8:28 p.m.