Learn R Programming

imola (version 0.5.0)

addClass: Add object class

Description

Adds a class to a object

Usage

addClass(object, class)

Arguments

object

Any R object.

class

A string representing a object class.

Value

The given R object with the additional class.