Check the shape and dimensions of an object

shapeIt(obj, d1, d2)

Arguments

obj

a numeric object

d1

an integer

d2

an integer

Value

matrix