dim() on a
data.frame object
dim.data.frame(x)
x.
This function is a method for the generic function for class data.frame. It can be invoked by calling for an object x of the appropriate class, or directly by calling regardless of the class of the object.