[R] Deleting a column in a dataframe by name
Rolf Turner
r.turner at auckland.ac.nz
Tue Sep 29 22:27:53 CEST 2009
On 30/09/2009, at 9:15 AM, milton ruser wrote:
> May be this:
>
> FRAME <- FRAME[-c(NAME1, NAME2)]
> or
> FRAME<- subset(FRAME, select=(-NAME1, -NAME2))
This is ridiculous advice. Try things out before you suggest them.
cheers,
Rolf Turner
######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}
More information about the R-help
mailing list