makeS3Obj {BBmisc} | R Documentation |
Simple constructor for S3 objects based on lists.
Description
Simple wrapper for as.list
and setClasses
.
Usage
makeS3Obj(classes, ...)
Arguments
classes |
[ |
... |
[any] |
Value
Object.
Examples
makeS3Obj("car", speed = 100, color = "red")
[Package BBmisc version 1.13 Index]