I imported the data of iris dataset by clicking the file on the right hand side. Copy the codes and paste it at the R script. Then I copy and paste “stringsAsFactors = T” and place it at the command. I highlighted all lines and click run.
As you can see from the screenshot, no go in running the commands. Also, I noticed that if I type stringsAsFactors, R did not pop any options for my choosing….
Right now, the default read.csv() file will read the text columns in the CSV file as string. I need to fix it so I can do logistic regression analysis properly.