Summarise the expected carbon fraction of dry mass for the population of samples the model was fitted to.
Usage
kb_predict_carbon(
fit,
...,
conf_level = 0.95,
estimate = stats::median,
sig_fig = 3
)Arguments
- fit
A
kb_fit_carbonobject.- ...
These dots are for future extensions and must be empty.
- conf_level
A number greater than 0 and less than 1 giving the compatibility-interval level.
- estimate
A function that reduces a numeric vector of posterior draws to a single estimate, such as
medianormean.- sig_fig
A whole number of significant figures for summary output.
Value
A kb_predictions object: a one-row tibble with estimate, lower,
and upper columns summarising the posterior distribution of the expected
carbon fraction.
Details
A single estimate, pooled over the months, sites, and tissue types of the samples supplied; to estimate for a particular time of year, filter the data before fitting the model.
See also
posterior_predict() for draws of individual sample fractions.
Other prediction functions:
autoplot.kb_predictions(),
kb_new_data(),
kb_plot_predictions(),
kb_predict_biomass_canopy(),
kb_predict_biomass_in_situ(),
kb_predict_cover_calibration(),
kb_predict_mean_weight(),
kb_predict_nitrogen(),
kb_predict_size(),
kb_predict_weight(),
kb_predict_wetdry(),
predict.kb_fit_carbon(),
predict.kb_fit_cover_calibration(),
predict.kb_fit_nitrogen(),
predict.kb_fit_size(),
predict.kb_fit_weight(),
predict.kb_fit_wetdry()