diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2021-06-17 13:58:34 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2021-06-17 13:58:34 +0200 |
commit | 05baf3bf92cba127fd2319b779db78be86170e5e (patch) | |
tree | 98b0c8c63badd2421afa5ebaf12530290ac9c571 /R/tffm0.R | |
parent | 28197d5fcbaf85b39f4c032b8180d68b6f6a01b3 (diff) |
Let backtransform_odeparms handle nlmixr formation fractions
Also adapt summary.nlmixr.mmkin to correctly handle the way
formation fractions are translated to nlmixr
Diffstat (limited to 'R/tffm0.R')
-rw-r--r-- | R/tffm0.R | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -13,7 +13,8 @@ #' #' @param ff Vector of untransformed formation fractions. The sum #' must be smaller or equal to one -#' @param ff_trans +#' @param ff_trans Vector of transformed formation fractions that can be +#' restricted to the interval from 0 to 1 #' @return A vector of the transformed formation fractions #' @export #' @examples @@ -33,7 +34,8 @@ tffm0 <- function(ff) { return(res) } #' @rdname tffm0 -#' @return +#' @export +#' @return A vector of backtransformed formation fractions for natural use in degradation models invtffm0 <- function(ff_trans) { n <- length(ff_trans) res <- numeric(n) |