Displaying 3 results from an estimated 3 matches for "burundi".
Did you mean:
brunni
2009 Jan 27
1
Data Frame Manipulation: Time Series
...ers:
I have a data set where the unit of observation is country-year. I would like to generate a new data set based on some inclusionary (exclusionary) criteria. Here is an example of the type of data that I have.
df<-data.frame(cbind("country"=c(rep("Angola", 9), rep("Burundi", 7), rep("Chad", 13)), "year"=c(1975:1983, 1989:1995, 1965:1977)), "war"=c(rep(1,2), rep(0,5), rep(1,2), rep(1,2), rep(0,2), rep(1,3), rep(1,4), rep(0,6), rep(1,3)))
> df
country year war
1 Angola 1975 1
2 Angola 1976 1
3 Angola 1977 0
4 Angol...
2009 Mar 18
1
lm function (PR#13608)
....804
170 TURKMENISTAN .4 .713
171 ARMENIA .37 .775
172 SUDAN .36 .526
173 UKRAINE .36 .788
174 MOLDOVA .35 .708
175 ZAIRE .33 .411
176 ZIMBABWE .33 .513
177 BURUNDI .3 ?
178 ? ? .413
> country <- HDISWLSdata[,1]
> SWLS <- HDISWLSdata[,2]
> HDI <- HDISWLSdata[,2]
> HDI <- HDISWLSdata[,3]
> country
[1] DENMARK SWITZERLAND AUSTRIA
ICELAND...
2006 Jul 18
2
how can I delete rows?
...ia DZA + +
2 Angola AGO - -
3 Benin BEN - +
4 Botswana BWA + +
5 Burkina Faso HVO - -
6 Burundi BDI + -
7 Cameroon CMR + +
8 Cape verde CPV - -
9 Central African Rep. CAF + +
10 Chad TCD - -
11 Co...