Exactly how do you want to convert it? It looks like you have columns
that are not integers, but factors. Can you provide an 'str' of the
dataframe so that we can see what the structure is. Can you also
provide an idea of what you want as output; you say a multiple list of
integers, but I am not
I have a data frame with integers mixed with a lot of NULLs, how do I convert
that to multiple lists of integers with zero (to replace NULL)? I tried the
following, and they failed:
> dim(g2)
[1] 25352 173
> class(g2)
[1] "data.frame"
> class(g2[1,])
[1] "data.frame"
> g2[1,30:40]
30
2 matches
Mail list logo