latex2-methods: LaTex related functions.

texR Documentation

LaTex related functions.

Description

  • ft.tex LaTex utility function to warp fisher test significance symbols in math superscript.

  • cs.tex LaTex utility function to prepare constancy values.

  • cs.tex.d LaTex utility function to prepare constancy values for LaTex dcolumns.

  • fm.tex LaTex utility function to warp fisher test sig. symbols in math superscript

  • ft.fm.tex LaTex utility function to paste results from ft.tex and fm.tex.

  • nc.c.tex LaTex utility function to highlight species by cluster groups.

Usage

# class synoptic
ft.tex(x)
cs.tex(x)
cs.tex.d(x, align = "+")
fm.tex(x, round = 2, ns = TRUE, threshold = 50, sign = TRUE)
ft.fm.tex(x, math = FALSE)
nc.c.tex(x, command = "\\cc")

# class momoptic
ct.tex(x)
ct.tex.d(x, align = "+")
q.tex(x)
tt.tex(x)

Arguments

x

synoptic or monoptic object.

round

numeric. Rounding of fidelity values

ns

logical. If ⁠TRUE⁠ show also fidelity values for non significant fidelity values, but only for those species that achieve a given constancy threshold (see below).

threshold

numeric. Constancy threshold.

sign

logical. Add sign to fidelity values.

align

character. Glyph to be used to align dcolumns.

math

logical. Use LaTex math mode.

command

character. LaTex command to apply cell colors. See template2.

Details

All these functions are used to create LaTex markup and are used within function list2tex.

Value

matrix of mode character.

Author(s)

Roland Kaiser

Examples

# Nothing here yet.

kardinal-eros/synoptic documentation built on Jan. 13, 2024, 9:16 p.m.