Learn R Programming

hmde (version 1.2.1)

hmde_extract_estimates: Extract samples and return measurement, individual, and population-level estimates

Description

Extract samples and return measurement, individual, and population-level estimates

Usage

hmde_extract_estimates(fit = NULL, input_measurement_data = NULL)

Value

named list with data frames for measurement, individual, population-level, and error parameter estimates

Arguments

fit

fitted model Stan fit

input_measurement_data

data used to fit the model with ind_id, y_obs, time, obs_index tibble

Examples

Run this code
# basic usage of hmde_extract_estimates
hmde_model("constant_single_ind") |>
  hmde_assign_data(Trout_Size_Data)|>
  hmde_run(chains = 1, iter = 1000,
           verbose = FALSE, show_messages = FALSE) |>
  hmde_extract_estimates(Trout_Size_Data)

Run the code above in your browser using DataLab