process_gamma_predictions: Process Gamma Prediction Results

View source: R/modelling.R

process_gamma_predictionsR Documentation

Process Gamma Prediction Results

Description

This function processes gamma prediction results to calculate the mean age predictions, scale, and shape parameters efficiently.

Usage

process_gamma_predictions(gamma_prediction)

Arguments

gamma_prediction

A list containing 'scale_pred' and 'shape_pred' matrices from the gamma prediction model.

Value

A list containing the following elements: - 'mean_age_pred': A vector of mean age predictions. - 'scale_hat': A vector of mean scale parameters. - 'shape_hat': A vector of mean shape parameters.


AgePopDenom documentation built on April 12, 2025, 1:41 a.m.