Learn R Programming

simex (version 1.0)

check.mc.matrix: Check the misclassification matrix

Description

Function to check the misclassification matrix for its existance for exponents smaller than 1.

Usage

check.mc.matrix(mc.matrix)

Arguments

mc.matrix
a list of matrices to be checked

Value

  • vector of logicals

See Also

mcsimex

Examples

Run this code
p1 <- matrix(c(1,0,0,1), nrow = 2)
p2 <- matrix(c(0.8,0.15,0,0.2,0.7,0.2,0,0.15,0.8), nrow = 3, byrow =TRUE)
p3 <- matrix(c(0.4,0.6,0.6,0.4), nrow = 2)

mc.matrix <- list(p1,p2,p3)

check.mc.matrix(mc.matrix) # T F F

Run the code above in your browser using DataLab