Add a new class attribute to the input object.

add_class(.obj, .class)

Arguments

.obj

R object.

.class

String with the desired class name.