Displaying 1 result from an estimated 1 matches for "952399".
Did you mean:
95,399
2017 Jul 07
2
Factor vs character in a data.frame vs vector
This is not? serious problem but I just wonder if someone can explain what is happening.
The same command within a dataframe is giving me a factor and as a plain vector is giving me a character.? It's probably something simple that I have read and forgotten but I thought I'd ask.
Thanks
#================================================
dat1 <- data.frame(aa = letters[1:10])
str(dat1)