Displaying 2 results from an estimated 2 matches for "newcol3".
Did you mean:
newcol
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 Aug 26
4
Column names of a data frame
I'm coming out with all the classic problems today ;-)
Can anyone tell me how to change the column names of an already existing
data frame? I've read the docs for ?data.frame and ?as.data.frame but
can't figure it out.
I want to make a new data.frame from some of the columns of an existing
data.frame, but when I do that, the new data.frame columns have the same
names as the old