init_gtr_site_model: Initializes a GTR site model

View source: R/init_site_models.R

init_gtr_site_modelR Documentation

Initializes a GTR site model

Description

Initializes a GTR site model

Usage

init_gtr_site_model(gtr_site_model, distr_id = 0, param_id = 0)

Arguments

gtr_site_model

a GTR site model, as returned by create_gtr_site_model

distr_id

a distributions' ID

param_id

a parameter's ID

Value

an initialized GTR site model

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

gtr_site_model <- create_gtr_site_model()
# FALSE
is_init_gtr_site_model(gtr_site_model)
gtr_site_model <- init_gtr_site_model(gtr_site_model)
# TRUE
is_init_gtr_site_model(gtr_site_model)

check_empty_beautier_folder()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.