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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -