table.dots.vec: To pad dots (or other text) to tables for improved...

Description Usage Arguments Value Author(s)

View source: R/table-dots-functions.R

Description

Objective: To pad dots (or other text) to tables for improved readability. This is a vectorized version. See also table.dots and substring.with.dots. Sample call:

table.dots.vec(c("k.elec","k.elec.pos","k.elec.mean"),N=40,before=FALSE,st=".",st.space=" ")

Produces this output:

[1] "k.elec ................................."

[2] "k.elec.pos ............................."

[3] "k.elec.mean ............................"

Usage

1
table.dots.vec(c("k.elec","k.elec.pos","k.elec.mean"),N=40,before=FALSE,st=".",st.space=" ")

Arguments

N

number of dots (e.g. 40).

before

should be set to TRUE if the dots should preceed the txt.

st

is the dot-string (e.g. ".").

st.space

(e.g. " = ").

txt

vector of strings.

Value

string vector

Author(s)

Claus E. Andersen


claus-e-andersen/clanTools documentation built on Oct. 23, 2020, 7:59 a.m.