Learn R Programming

gettingtothebottom (version 3.2)

makeZ: MM Algorithm - Make Z

Description

makeZ Function for making the Z matrix

Usage

makeZ(M, lambda)

Arguments

M
Matrix containing observed entries
lambda
Softhreshold parameter

Examples

Run this code
A <- matrix(rnorm(9),3,3)
makeZ(A,lambda=3)

Run the code above in your browser using DataLab