x must be numeric while trying to create histogram in R
问题 I am a newbie in R. I need to generate some graphs. I imported an excel file and need to create a histogram on one column. My importing code is- file=read.xlsx('femalecommentcount.xlsx',1,header=FALSE) col=file[2] col looks like this (part) - 36961 1 36962 1 36963 7 36964 1 36965 2 36966 1 36967 1 36968 4 36969 1 36970 6 36971 3 36972 1 36973 6 36974 6 36975 2 36976 2 36977 8 36978 2 36979 1 36980 1 36981 1 the first column is the row number. I'm not sure how to remove this. The second column