Often in R you'll want to know things about an object or variable you're working with. This can be useful when reading someone else's code or even your own, especially when using packages that are new to you.
Suppose we create a variable a:
a <- matrix(1:9, 3, 3)
What data type is this? Yo...