search for: numericcolumns

Displaying 1 result from an estimated 1 matches for "numericcolumns".

2011 Jan 12
2
syntax for extending a line in a script??
...ccasionally creates cases where there is no friendly way to break a long line of code into two lines which still function as one command. Therefore, I need a nice way to be able to flag 'R' to know that the code is continuing on the next line. Let me explain via example: numericColumns <- names(listOfDataFrames[[myDF]][,columnsOI]) [sapply(listOfDataFrames[[myDF]][,columnsOI], is.numeric) ] As you can see in this case, I would *like* for these 2 lines of code to be read as 1 line, but since the "names(<blah>)" command is sufficiently a...