Hello, I'm new to Rstudio and already a bit lost.
I imported the csv file with my data with worked well. I have a few numeric variables (numbers) and a few characters. When imported the data, it shows the numbers as num. But once I check with is.numeric or in general what class it is, it shows that the variable is classified as character. I tried every fix I found googling, but nothing worked. Some do have missing values which is set as empty, but the first variable is the number 1-318 without missing values and it still is somehow classified as characters or double (even though it shows an num when viewing the data).
Anyone can help me with fixing this?
Thanks in advance
Can you provide a reproducible example?
your last post shows you are asking to get a summary of a single string whose content is the text 'Response'
if you want to get the Response vector out of your dataframe that you called dataset you would need to use the $ operator.
summary(dataset$Response)
Thanks a lot. As I said, I am new to R and Rstudio and the tutorials I watched told me to do as I posted. The $ operator seemed to work. Thanks a lot!



