Adds a class to a object
addClass(object, class)
object
Any R object.
class
A string representing a object class.
The given R object with the additional class.