Displaying 2 results from an estimated 2 matches for "blaw".
Did you mean:
blas
2006 Aug 02
5
Finding the position of a variable in a data.frame
Simple problem but I don't see the answer. I'm trying
to clean up some data
I have 120 columns in a data.frame. I have one value
in a column named "blaw" that I want to change. How do
I find the coordinates. I can find the row by doing a
subset on the data.frame but how do I find out here
"blaw " is in columns without manually counting them
or converting names(Df) to a list and reading down the
list.
Simple example
cat <- c( 3,5...
2014 Dec 11
0
package.skeleton leads to R CMD check aborting
...to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
John Kane: I have 120 columns in a data.frame. I have one value in a column named "blaw" that I want to change. How do I find the coordinates?
Roger Koenker: It is the well-known wicked which problem: If you had (grammatically incorrectly) thought "... which I want to change" then you might have
been led to type (in another window):
?which
and you would have seen the...