I survive my SPSS days thanks to you, Mike. Now I've moved into R and i'm so happy to see you making great videos to help me there also
@jhonnatasgomes3 жыл бұрын
I just dont know how to describe, how much this video helped me, it takes the whole time yesterday to descover how to convert this, and finally i found you. Thank you very much!!!
@lynnekilgore60113 жыл бұрын
Like others below I was having a ton of trouble with other explanations on how to transform the data...but within 5 minutes of watching this video I'm finished and can finally move on. Thank you!
@chrisber4 жыл бұрын
Thanks bro! I was having a lot of difficulty with the as.factor function
@bukolaadebayo18912 жыл бұрын
You just made my day with this code!! I was able to use it to change double to character. Thanks
@mikecrowson24622 жыл бұрын
Glad I could help!
@ForensicAnalytics4 жыл бұрын
Thank you. Good example, clear audio, and the speed was just right. I was stuck with writing code that would import text data (a ,txt file that was tab delimited). I used Payments
@zachnewman98883 жыл бұрын
Thanks! The as.numeric worked for me on something I was really having a hard time with
@vadimkorontsevich10662 жыл бұрын
Factor is a data structure used for fields that takes only predefined, finite number of values (categorical data). For example: a data field such as marital status may contain only values from single, married, separated, divorced, or widowed.
@Skychefs222 жыл бұрын
Thank you :) it was very helpful
@thulsi5134 жыл бұрын
uff, after a lot of trouble the whole day, this video saved me! thank you Mike.
@Lara-zo8gn Жыл бұрын
Once again you are saving my ass, thank you! :)
@ManoYaka4 жыл бұрын
I don't know if it's me, but when its original the interest has values 3 5 3 7 4 3 5, but after the conversion, you have 1 3 1 4 2 1 3, did we miss anything here?
@raquelfantoni28123 жыл бұрын
How can I recode multiple factor variables as number at once? I have a data set as "highly dislike" "somewhat dislike" etc for a whole set of variables and I'd like to change them all at once.
@henry41502 жыл бұрын
very helpful !!! Thanks
@ignaciopetit42394 жыл бұрын
Hola, values of columns changed after applying the as.numeric function. Any recommendation? Thanks for your video
@alexiachen76524 жыл бұрын
thank you, this is really helpful
@ian_eyaaan204 жыл бұрын
Thank you, this was really helpful. After changing the factors to numeric, my variable, 'Female', where male = 0 and female = 1 were automatically set to female = 1 and male = 2, how do I change it to 0 and 1?
@ainarasanjuanescudero43124 жыл бұрын
Did you find any solution?? I have the same problem
@jeanrodriguesangare82614 жыл бұрын
Many many thanks , you save me
@nikkijohnson16655 жыл бұрын
I'm doing this and getting the error "Error in as.factor$Survived : object of type 'closure' is not subsettable" back. Any ideas?
@dr.shakirumuhamadi26445 жыл бұрын
as.factor(dataname$survived) ....name of your dataset first then a pound sign