Learn R Programming

rphast (version 1.6.9)

is.subst.mod.tm: Check Substitution Model Strings

Description

Check if a string represents a phast substitution model

Usage

is.subst.mod.tm(mod)

Arguments

mod

A vector of character strings representing substitution model names to be tested

Value

A vector of logical values indicating whether each string represents a defined substitution model

Examples

Run this code
# NOT RUN {
is.subst.mod.tm(c("JC69", "K80", "F81", "HKY85", "HKY85+Gap",
                  "REV", "SSREV", "REV+GC", "UNREST", "R2", "U2", "R2S",
                  "U2S", "R3", "R3S", "U3", "U3S", "GC", "HB",
                  "bad.model"))

# }

Run the code above in your browser using DataLab