isMatrixValid | R Documentation |
Test if matrix contains values that are only within the range specified by valueRange
isMatrixValid( dataMatrix, valueRange = c(0, 1), NAsValid = FALSE, checkColOrder = TRUE )
dataMatrix |
Matrix the values of which will be tested |
valueRange |
Vector of min and max permissible values in the matrix (default=c(0,1)) |
NAsValid |
Boolean TRUE/FALSE indicating if NAs are considered valid (default=FALSE) |
checkColOrder |
Boolean TRUE/FALSE indicating if the order of column names should be checked. this assumes that these are numerical positions in ascending order (default=TRUE) |
Boolean TRUE/FALSE indicating if matrix contains only valid values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.