Displaying 4 results from an estimated 4 matches for "d2004".
Did you mean:
2004
2004 Sep 09
1
Indexing dataframe
I am sorry to ask such question, but I can't find a solution...
I have a dataframe 'd2004' and I want to remove two columns:
'd2004$concentration' and 'd2004$stade".
I could do it just as follows:
> names(d2004)
[1] "Localite" "Date" "parcelle" "maille"
"presence.plant" "concentratio...
2005 Jun 28
1
Using data frames for EDA: Insert, Change name, delete columns? (Newcomer's question)
I am finding complex analyses easier than some elementary operations in
R. In particular I want to do some low level exploratory data analyses
with data in a data frame but cannot find commands to easily insert,
remove (delete), rename, and re-order (arbitrarily, not sort) columns.
I see that the micEcon package has an insertCol command, but that is for
matrices, not data frames. I have looked
2004 Sep 09
0
AW: Indexing dataframe
Hi,
Use
Newdata <- subset(d2004, select=-c(concentration,stade))
See ?subset for details
Best,
Matthias
> -----Urspr??ngliche Nachricht-----
> Von: Jacques VESLOT [mailto:jacques.veslot at cirad.fr]
> Gesendet: Donnerstag, 09. September 2004 12:38
> An: r-help at stat.math.ethz.ch
> Betreff: [R] Indexing datafr...
2010 Sep 13
1
Create a time-series from cross-sectional data that has each year as a separate column
...um NA NA 202 NA NA ...
$ D1999 : num NA NA 201 NA NA ...
$ D2000 : num NA NA 207 NA NA ...
$ D2001 : num 68.1 NA 198.3 NA NA ...
$ D2002 : num NA NA 186 NA NA ...
$ D2003 : num 67.6 NA 148.8 NA NA ...
$ D2004 : num 68.8 NA 143.7 NA NA ...
$ D2005 : num NA NA 163 NA NA ...
$ D2006 : num NA NA 189 NA NA ...
$ D2007 : num NA NA NA 14 1.91 ...
How do I transform this into something that I can make a time-series of?
Sincerely,
Gabri...