[R] a quick list mode question

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Wed Jul 30 22:23:18 CEST 2014


I don't. Please post code to demonstrate your result when asking a question like this.

test <- list()
mode(test)
[1] "list"
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

On July 30, 2014 1:07:18 PM PDT, Erin Hodgess <erinm.hodgess at gmail.com> wrote:
>Hello yet again
>
>I was looking at the class and the mode of a list.  For the class of a
>list, of course I got a list, but for the mode, I got a function.
>
>Why do you get a function, please?
>
>Thanks,
>Erin



More information about the R-help mailing list