Made changes to complete cases. Removes NA only from pollutant column. The final code
preliminary code;needs to accept input in any order
improved code giving more accurate output. gives warning
code with for loop for id (But in increasing order),warnings removed
changed of condition; added comments
corrected order issues by interchanging for loops(file and id) and if(i) conditions. Receiving correct ouptut - program is slow