From 31fd7412f46c9715962763d435cb0060ea420752 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 4 Nov 2019 17:21:04 +0100 Subject: Include fixed parameters in model names in lrtest --- man/confint.mkinfit.Rd | 8 ++++---- man/lrtest.mkinfit.Rd | 8 ++++++-- 2 files changed, 10 insertions(+), 6 deletions(-) (limited to 'man') diff --git a/man/confint.mkinfit.Rd b/man/confint.mkinfit.Rd index 60e82517..f2521ccd 100644 --- a/man/confint.mkinfit.Rd +++ b/man/confint.mkinfit.Rd @@ -52,10 +52,10 @@ The default method 'quadratic' is based on the quadratic approximation of the curvature of the likelihood function at the maximum likelihood parameter estimates. The alternative method 'profile' is based on the profile likelihood for each -parameter. The method uses two nested optimisations and can take a very long -time, even if parallelized by specifying 'cores' on unixoid platforms. The -speed of the method could likely be improved by using the method of Venzon -and Moolgavkar (1988). +parameter. The 'profile' method uses two nested optimisations and can take a +very long time, even if parallelized by specifying 'cores' on unixoid +platforms. The speed of the method could likely be improved by using the +method of Venzon and Moolgavkar (1988). } \examples{ f <- mkinfit("SFO", FOCUS_2006_C, quiet = TRUE) diff --git a/man/lrtest.mkinfit.Rd b/man/lrtest.mkinfit.Rd index c07d9868..bc8ab4dc 100644 --- a/man/lrtest.mkinfit.Rd +++ b/man/lrtest.mkinfit.Rd @@ -40,7 +40,11 @@ lrtest(sfo_fit, dfop_fit) # The following two examples are commented out as they fail during # generation of the static help pages by pkgdown -# lrtest(dfop_fit, error_model = "tc") -# lrtest(dfop_fit, fixed_parms = c(k2 = 0)) +#lrtest(dfop_fit, error_model = "tc") +#lrtest(dfop_fit, fixed_parms = c(k2 = 0)) + +# However, this equivalent syntax works for static help pages +lrtest(dfop_fit, update(dfop_fit, error_model = "tc")) +lrtest(dfop_fit, update(dfop_fit, fixed_parms = c(k2 = 0))) } } -- cgit v1.2.1