Add class to abject

add_class(var, name)

Arguments

var

A tibble

name

A character name of the attribute

Value

A tibble with an additional attribute