Learn R Programming

hmde (version 1.2.1)

hmde_assign_data: Assign data to template for chosen model

Description

Assign data to template for chosen model

Usage

hmde_assign_data(model_template, data = NULL, ...)

Value

updated named list with your data assigned to Stan model parameters

Arguments

model_template

output from hmde_model

data

Input data tibble with columns including time, y_obs, obs_index, and additionally ind_id for multi-individual models

...

data-masking name-value pairs allowing specific input of elements

Examples

Run this code
# basic usage of hmde_assign_data
hmde_model("constant_single_ind") |> hmde_assign_data(Trout_Size_Data)

Run the code above in your browser using DataLab