getModelNr {Crossover}R Documentation

Get the number or character string specifying the model

Description

Get the number or character string specifying the model

Usage

getModelNr(model, type = "numeric")

Arguments

model

Number or character string specifying the model

type

Eiher "numeric" or "character". If numeric the number of the model will be returned. Otherwise the character string description of the model.

Value

Either number or character string specifying the model.

Examples

Crossover:::getModelNr("Self-adjacency model")==Crossover:::getModelNr(2)
"Self-adjacency model"==Crossover:::getModelNr(2, type="character")
Crossover:::getModelNr("Self-adjacency model")==2

[Package Crossover version 0.1-20 Index]