Function coef
extracts the estimates such as t50,
tlag, from fitted 13C beta exponential models. The result is the same
as fit$coef
, but without
column stat
, which always is "estimate"
for nls_fit
and nlme_fit
.
The summary
method only extracts t50
by the Maes/Ghoos method
Usage
# S3 method for class 'breathtestfit'
coef(object, ...)
Examples
# Generate simulated data
data = cleanup_data(simulate_breathtest_data())
# Fit with the population method
fit = nlme_fit(data)
# All coefficients in the long form
coef(fit)
#> NULL
# Access coefficients directly
fit$coef
#> NULL
# Only t50 by Maes/Ghoos
# Can also be used with stan fit (slow!)
if (FALSE) { # \dontrun{
if (require("breathteststan")) {
fit = stan_fit(data, iter = 300, chain = 1)
coef(fit)
# We get quantiles here in key/value format
unique(fit$coef$stat)
}
} # }