From b5ee48a86e4b1d4c05aaadb80b44954e2e994ebc Mon Sep 17 00:00:00 2001
From: Johannes Ranke
A vector of transformed or backtransformed parameters
+A vector of transformed or backtransformed parameters with the same +names as the original parameters.
The transformation of sets of formation fractions is fragile, as it supposes
the same ordering of the components in forward and backward transformation.
This is no problem for the internal use in mkinfit
.
backtransform_odeparms
: Backtransform the set of transformed parameters
@@ -241,7 +245,7 @@ This is no problem for the internal use inmkinfit< #> sigma 3.12550 0.35852 8.72 2.24e-10 2.39609 3.8549
# \dontrun{ # Compare to the version without transforming rate parameters -fit.2 <- mkinfit(SFO_SFO, FOCUS_2006_D, transform_rates = FALSE, quiet = TRUE)#> Warning: Observations with value of zero were removed from the data#> Error in if (cost < cost.current) { assign("cost.current", cost, inherits = TRUE) if (!quiet) cat(ifelse(OLS, "Sum of squared residuals", "Negative log-likelihood"), " at call ", calls, ": ", cost.current, "\n", sep = "")}: missing value where TRUE/FALSE needed#>#> Error in summary(fit.2): object 'fit.2' not found#> Error in print(fit.2.s$par, 3): object 'fit.2.s' not found#> Error in print(fit.2.s$bpar, 3): object 'fit.2.s' not found#> Warning: Observations with value of zero were removed from the data#> Error in if (cost < cost.current) { assign("cost.current", cost, inherits = TRUE) if (!quiet) cat(ifelse(OLS, "Sum of squared residuals", "Negative log-likelihood"), " at call ", calls, ": ", cost.current, "\n", sep = "")}: missing value where TRUE/FALSE needed#>#> Error in summary(fit.2): object 'fit.2' not found#> Error in print(fit.2.s$par, 3): object 'fit.2.s' not found#> Error in print(fit.2.s$bpar, 3): object 'fit.2.s' not found