psupertime
psupertime copied to clipboard
fix change in as.matrix
from R 4.0.0 onwards, we need to use
inherits(matrix_obj, "matrix")
to check that x
is a matrix, instead of
class(matrix_obj) == "matrix"