Get the number of distributions one or more site models have

get_site_models_n_params(site_models)

Arguments

site_models

one or more site models, as returned by create_site_model

Value

the number of parameters the site models have

Author

Richèl J.C. Bilderbeek

Examples

  testit::assert(
    get_site_models_n_params(list(create_gtr_site_model())) == 10
  )
  testit::assert(
    get_site_models_n_params(list(create_hky_site_model())) == 2
  )
  testit::assert(
    get_site_models_n_params(list(create_jc69_site_model())) == 0
  )
  testit::assert(
    get_site_models_n_params(list(create_tn93_site_model())) == 4
  )