Displaying 4 results from an estimated 4 matches for "ovodenko".
2008 Feb 09
2
Reading data from a dataframe
Thanks 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
2008 Feb 09
4
Question
I have recently started learning R. I converted a Stata datafile into an R
image file, but I am unable to do anything with the data. For example, I am
unable to calculate the mean of any variable or create a scatterplot of some
of the data. I always get a message saying, "Error in plot(rgnpc, incmean)
: object "rgnpc" not found" when I attempt to make a simple plot of the
2008 Mar 31
2
Finding a mean value of a variable holding a dummy variable fixed
I have time-series data on approval ratings of British Prime Ministers. The
prime ministers dating from MacMillan onward till today are coded as dummy
variables and the approval ratings are entered for each month. I want to
know the mean value of the approval rating of each Prime Minister in the
dataset and the approval rating during his/her first month and last month as
PM. What R code should
2008 Feb 09
1
R is not reading(?) my data properly
Thanks 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