init_rln_clock_model: Initializes a Relaxed Log-Normal clock model

View source: R/init_clock_models.R

init_rln_clock_modelR Documentation

Initializes a Relaxed Log-Normal clock model

Description

Initializes a Relaxed Log-Normal clock model

Usage

init_rln_clock_model(rln_clock_model, distr_id = 0, param_id = 0)

Arguments

rln_clock_model

a Relaxed Log-Normal clock model, as returned by create_rln_clock_model

distr_id

a distributions' ID

param_id

a parameter's ID

Value

an initialized Relaxed Log-Normal clock model

Author(s)

Richèl J.C. Bilderbeek

Examples

check_empty_beautier_folder()

rln_clock_model <- create_rln_clock_model()
# FALSE: not yet initialized
is_init_rln_clock_model(rln_clock_model)
rln_clock_model <- init_rln_clock_model(rln_clock_model)
# Dimension is set to NA by default, for unknown reasons.
# Because 'init_rln_clock_model' does not initialize it (for
# unknown reasons), set it manually
rln_clock_model$dimension <- 42
# TRUE: now it is initialized
is_init_rln_clock_model(rln_clock_model)

check_empty_beautier_folder()

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