search for: wastecalculations

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

2011 Oct 22
1
cycling through a long list of files and names
...ough the R help (?parse, ?eval, etc.) and still really don't know how to do the following. I have the general following structure that I would like to automate [edited to make it shorter]: >>> city1997 <- dataCleaning(read.csv2("C:\\city\\year1997.txt")) city1997 <- wasteCalculations(city1997, year = 1997) if (city1997[1,1] == "Time") {city1997 <- timeCalculations(city1997)} city1998 <- dataCleaning(read.csv2("C:\\city\\year1998.txt")) city1998 <- wasteCalculations(city1998, year = 1998) if (city1998[1,1] == "Time") {city1998 <- timeCal...