This returns a new fit object with CWRES attached
addCwres(fit, updateObject = TRUE, envir = globalenv())
nlmixr fit without WRES/CWRES
Boolean indicating if the original fit object should be updated. By default this is true.
Environment that should be checked for object to update. By default this is the global environment.
fit with CWRES