Displaying 2 results from an estimated 2 matches for "pol572a1".
2008 Feb 09
2
Reading data from a dataframe
...s for the replies to my prior question. My problem is that R always
says object not found when I enter a variable name into a command. I
converted a Stata file into an Rdata file by first loading the foreign
package by entering
require(foreign)
Then I asked R to read the Stata file by entering
pol572a1<- read.dta("C:\\alex\\Graduate Coursework\\Pol 572\\pol572a1.dta")
So now I can do a few things with the data, but I am only able to do so by
entering
with(pol572a1,
before typing another command. So I enter the following for a scatter plot:
with(pol572a1, plot(rgnpc, incmean))
Whe...
2008 Feb 09
1
R is not reading(?) my data properly
...s for the replies to my prior question. My problem is that R always
says object not found when I enter a variable name into a command. I
converted a Stata file into an Rdata file by first loading the foreign
package by entering
require(foreign)
Then I asked R to read the Stata file by entering
pol572a1<- read.dta("C:\\alex\\Graduate Coursework\\Pol 572\\pol572a1.dta")
So now I can do a few things with the data, but I am only able to do so by
entering
with(pol572a1,
before typing another command. So I enter the following for a scatter plot:
with(pol572a1, plot(rgnpc, incmean))
Whe...