View source: R/table-dots-functions.R
table.dots.vec | R Documentation |
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 ............................"
table.dots.vec(c("k.elec","k.elec.pos","k.elec.mean"),N=40,before=FALSE,st=".",st.space=" ")
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. |
string vector
Claus E. Andersen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.