I\'m currently trying to update values from a data.frame using dplyr butI don\'t know if it is possible to replace a subset of values?
# the net4 table head(
Use mutate and ifelse
mutate
ifelse
mutate(net4, ave = ifelse(ave < 10 & ave != temp2, temps2 / NNET * NET, ave) )