Hello everyone,
I am a beginner in the Rstudio and I have a problem with my data. I think that something is going wrong with the steps I follow to import my dataset in the Rstudio.
I want to import my dataset from stata into the R studio. I am doing the following steps:
- I am choosing "import dataset"-->from stata
- I find the file I want to import
- and then I click on the "import" button.
I can see my data at the top and left of the R studio.
Is this procedure ok? Because when I trying to plot a diagram [plot(ecdf(variable1))] the following message comes up:
Error in sort(x) : object 'variable1' not found
What am I doing wrong?
Thank you in advance
Best regards,
Ioanna