Stop with a Message if Input is not a Matrix

stopIfNotMatrix(x)

Arguments

x

object to be checked with is.matrix