[R] Indexing dataframe

Thomas Petzoldt thpe at hhbio.wasser.tu-dresden.de
Thu Sep 9 12:56:09 CEST 2004


Jacques VESLOT wrote:

> 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".

d2004$concentration <- NULL
d2004$stade         <- NULL

Hope it helps!

Thomas P.




More information about the R-help mailing list