diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2021-03-20 21:26:40 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2021-03-20 21:26:40 +0100 |
commit | 34d1c5f23edfb60548bc5a9dd99c2f3af92acef1 (patch) | |
tree | 6288a76b77771996231e85d731e9c010d39248d0 | |
parent | 6d6dc7d53bf99b088af3488588574afc832fb7fe (diff) |
Fix mkin calculation of saemix residuals
-rw-r--r-- | R/saem.R | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -164,7 +164,7 @@ saem.mmkin <- function(object, xidep = return_data[c("time", "name")]) return_data <- transform(return_data, - residual = predicted - value, + residual = value - predicted, std = sigma_twocomp(predicted, f_saemix@results@respar[1], f_saemix@results@respar[2])) return_data <- transform(return_data, |