init_gamma_site_model: Initializes a gamma site model

View source: R/init_gamma_site_model.R

init_gamma_site_modelR Documentation

Initializes a gamma site model

Description

Initializes a gamma site model

Usage

init_gamma_site_model(gamma_site_model, distr_id = 0, param_id = 0)

Arguments

gamma_site_model

a site model's gamma site model, as returned by create_gamma_site_model

distr_id

the first distributions' ID

param_id

the first parameter's ID

Value

an initialized gamma site model

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

gamma_site_model <- create_gamma_site_model(
  gamma_cat_count = 2,
  gamma_shape_prior_distr = create_one_div_x_distr(id = NA)
)
# FALSE: not yet initialized
is_init_gamma_site_model(gamma_site_model)
gamma_site_model <- init_gamma_site_model(gamma_site_model)
# TRUE: now it is initialized
is_init_gamma_site_model(gamma_site_model)

check_empty_beautier_folder()

ropensci/beautier documentation built on July 9, 2024, 6:14 a.m.