printSwapBL: Print Information from a swapBL Object

View source: R/printSwapBL.R

printSwapBLR Documentation

Print Information from a swapBL Object

Description

Prints information from a 'swapBL' object. The output format can be controlled using the 'compact' and 'tabular' arguments.

Usage

printSwapBL(objectToPrint, compact = FALSE, tabular = TRUE)

Arguments

objectToPrint

An 'swapBL' object.

compact

Logical indicating whether to print a compact output (default: FALSE).

tabular

Logical indicating whether to print output in tabular format (default: TRUE).

Value

Invisibly returns the object.

Author(s)

Miranda-Esquivel Daniel R.

Examples

library(blepd)  

# Create a swapBL object
evalBranch <-  swapBL(tree=tree,
                      distribution = distribution,
                          model = "simpleswap",
                          branch = "terminals",
                          verbose = TRUE
                         )

# Print information from the object
printSwapBL(evalBranch)


Dmirandae/blepd documentation built on Jan. 17, 2025, 3:08 p.m.