Learn R Programming

R.oo (version 1.2.7)

typeOfClass: Gets the type of a class (S3 or S4)

Description

Gets the type of a class (S3 or S4).

Usage

## S3 method for class 'default}(object, ...)':
typeOfClassundefined

object{The object to be checks.}
 ...{Not used.}

Returns a character string "S3", "S3-Object" or "S4",
 or NA if neither.

[object Object]

character

Arguments