To check whether an object is an array or not, you could use the is.array() function. To do advanced processing and/or analysis on an array object, it is recommended that you review the plyr library, especially the alply(), aaply(), and adply() functions, because those functions take input as an array and then perform the requested operations.