powered by
ridNA(z, temp)
z = 1:10 z[z>8] = NA ridNA(z, 0)
Run the code above in your browser using DataLab