Displaying 3 results from an estimated 3 matches for "parcelle".
Did you mean:
parcele
2004 Sep 09
1
Indexing dataframe
...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" "concentration" "stade.culture"
[8] "stade" "Trou" "Horizon" "Profondeur"
> d2004 <- d2004[, -c(6, 8)]
but I'd like to use column names (to a...
2004 Sep 09
0
AW: Indexing dataframe
...ution...
>
> 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" "concentration" "stade.culture"
> [8] "stade" "Trou" "Horizon" "Profondeur"
>
> > d2004 <- d2004[, -c(6, 8)]
>
> but I'd...
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