Preserving list element class in R function return -


i have r function returns list of objects: logical variable, 2 vectors, , user-defined class, list containing several parameters data.frame. upon return function, check object of user-defined class of class using is() function. however, is() function returns value "list" rather name of user-defined class name. not possible pass class objects part of list upon return function? running rstudio 1.014, microsoft r 3.4, , windows 10.

barth


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -