[1] sun stars cat dog bird 1000
Levels: 1000 bird cat dog stars sun
as.factor(data$V2)
[1] moon moon dog moon plane dog
Levels: dog moon plane
So notice "dog" is 4 in V1, yet its 1 in V2. Is there a way, either on import, or after, to have factors computed for both columns and assigned
the same internal values?
Brian