View source: R/table-dots-functions.R
table.dots | R Documentation |
Objective: To pad dots (or other text) to tables for improved readability. See also: table.dots.vec and substring.with.dots. Sample call:
table.dots("k.elec",N=40,before=!FALSE,st=".",st.space=" ")
table.dots("k.elec",N=40,before=FALSE,st="Error ",st.space=" = ")
Produces this output:
[1] "................................. k.elec"
[1] "k.elec = Error Error Error Error Error E"
table.dots("k.elec",N=40,before=!FALSE,st=".",st.space=" ")
txt |
A single string (not a vector). |
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. " = "). |
string vector
Claus E. Andersen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.