mean_degparms function

Calculate mean degradation parameters for an mmkin row object

Calculate mean degradation parameters for an mmkin row object

mean_degparms( object, random = FALSE, test_log_parms = FALSE, conf.level = 0.6, default_log_parms = NA )

Arguments

  • object: An mmkin row object containing several fits of the same model to different datasets
  • random: Should a list with fixed and random effects be returned?
  • test_log_parms: If TRUE, log parameters are only considered in the mean calculations if their untransformed counterparts (most likely rate constants) pass the t-test for significant difference from zero.
  • conf.level: Possibility to adjust the required confidence level for parameter that are tested if requested by 'test_log_parms'.
  • default_log_parms: If set to a numeric value, this is used as a default value for the tested log parameters that failed the t-test.

Returns

If random is FALSE (default), a named vector containing mean values of the fitted degradation model parameters. If random is TRUE, a list with fixed and random effects, in the format required by the start argument of nlme for the case of a single grouping variable ds.

  • Maintainer: Johannes Ranke
  • License: GPL
  • Last published: 2025-02-13