Skip to contents

Fitting

fit_log_ppmr()
Fit a distribution to log ppmr observations
transform_fit()
Transform a fitted distribution to represent data weighted by a different power of w
get_density()
Get density from a fit object

Plotting

plot_log_ppmr_fit()
Plot log ppmr observations and fitted distribution
plot_ppmr_violins()
Violin plots of predator/prey mass ratios for different predator weights

Data

barnes_data
Predator-prey body size data from Barnes et al.

Validation

validate_fit()
Validate a fit object
validate_ppmr_data()
Validate a data frame with predator/prey mass ratio observations

Internals

dtexp()
Density function of truncated exponential distribution
fit_gaussian_mixture()
Fit a Gaussian mixture distribution to weighted observations
fit_normal()
Fit a normal distribution to weighted observations
fit_truncated_exponential()
Fit a truncated exponential distribution to weighted observations
get_density_single()
Get density for a single species from a fit list
mizerStomach mizerStomach-package
mizerStomach: Using stomach content data in mizer
transform_gaussian_mixture()
Transform a Gaussian mixture distribution to represent data weighted by a power of w
transform_normal()
Transform a normal distribution to represent data weighted by a power of w
transform_truncated_exp()
Transform a truncated exponential distribution to represent data weighted by a power of w
validate_weighted_observations()
Validate weighted observations