Learn R Programming

S7 (version 0.2.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