Set class with a parenthetical function.

Add class with a parenthetical function.

set_class(x, value)

add_class(x, value)

Arguments

x

Object to assign new class to.

value

Class value to assign to x

Value

Object x as class value.