add_class: add a class attribute

Description Usage Arguments

Description

add_class adds the specified class to the beginning of an object's class attribute vector. The object retains all previous class memberships.

Usage

1
  add_class(x, new.class)

Arguments

x

an object to be given a new class

new.class

a character string


garrettgman/modelglyphs documentation built on May 16, 2019, 5:39 p.m.