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

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -