-
Tom Reynkens authored
Select first element of class(obj) when obj might be a matrix object as matrix objects will also inherit from class array in R 4.0.0 (and hence class(obj) will be of length > 1
b3b8d999
Select first element of class(obj) when obj might be a matrix object as matrix objects will also inherit from class array in R 4.0.0 (and hence class(obj) will be of length > 1