Is it possible to declare a variable btw. representation like "obj" of a arbitrary type, that means an ancestor, where all data types derived from? So that I can appropriate each type to representation type? Should I put this flexible parameter into a list?
setClass(Class = "MyClass",
representation = representation(obj = "object"
)
)
new("MyClassA",name="abc",typ=123)