powered by
Simple wrapper for as.list and setClasses.
as.list
setClasses
makeS3Obj(classes, ...)
Object.
[character] Class(es) for constructed object.
character
[any] Key-value pairs for class members.
makeS3Obj("car", speed = 100, color = "red")
Run the code above in your browser using DataLab