Learn R Programming

S7 (version 0.1.1)

S7_class: Retrieve the S7 class of an object

Description

Given an S7 object, find it's class.

Usage

S7_class(object)

Value

An S7 class.

Arguments

object

The S7 object

Examples

Run this code
foo <- new_class("foo")
S7_class(foo())

Run the code above in your browser using DataLab