search for: xiaerwhit

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

Did you mean: xiaerwhite
2011 May 28
2
remove ", " at the end of each line for all lines except the first line in a data frame
the question ask me to use gsub() and subsetting to remove the comma at the end of the for all but the first value in a data frame. the first few lines are like the following: [1] "2177663,-41,175,2678248,6021224,1840,5,25,17,,,6,," "2177691,-39.6,176.2,2784798,6173592,1843,7,8,5,30,,7.6,12," [3]