TranslateParsMakerGeoHiSSE: Key to translate GeoHiSSE into ClaSSE

View source: R/simulateGeoHiSSE.R

TranslateParsMakerGeoHiSSER Documentation

Key to translate GeoHiSSE into ClaSSE

Description

Simulate key of parnames to translate between GeoHiSSE and ClaSSE models

Usage

TranslateParsMakerGeoHiSSE(k, add.extinction, add.jumps)

Arguments

k

number of hidden states in the model. Minimum is 0 for a model without hidden states (i.e., GeoSSE).

add.extinction

if the extinction parameter should be separated from extirpation.

add.jumps

if jumps between endemic areas should be added.

Details

Function will only return the parameters that are relevant for a GeoHiSSE model. The ClaSSE model will have many more parameters. The extra parameters of the ClaSSE model need to be all set to 0. The number of parameters of the correspondent ClaSSE model given the parameter k is given by:

(k+1)*3

Value

Function returns a matrix of characters names. Column 'classe.pars' have the parameter names for a ClaSSE model and column 'geohisse.pars' have the parameter names for the matching GeoHiSSE model.

Author(s)

Daniel Caetano


hisse documentation built on Feb. 16, 2023, 10:26 p.m.