I don't understand the difference between is.atomic()
and is.vector()
. From my understanding, is.vector()
returns TRUE
for homogeneous 1D data structures. I believe is.atomic()
returns TRUE
for logicals, doubles, integers, characters, complexes, and raws...however, wouldn't is.vector()
as well? So I thought perhaps the difference lies in its dimensions, but is.atomic()
returned FALSE
on a dataframe of doubles, which made me even more confused, ah...
Also, what is the difference between an atomic vector and a normal vector?
Thanks for your clarification!