Description Usage Arguments Value Author(s) Examples
Makes ready list of strings to be printed in tabular form, creates a table row from it. Adds empty positions if needed in order to make all strings the same by length and adds "tabSep" character between strings. Returns text that is ready to be printed (one row of a table).
1 | printTabStyle(textList,positions,tabSep="|")
|
textList |
list of strings to prepare |
positions |
desired length of one cell in the table |
tabSep |
character used to separate columns in the table; default value is "|" |
Returns text that is ready to be printed (one row of a table).
Natalja Kurbatova
1 2 3 4 5 6 7 8 | row_sep <- rep("----------",3)
print(PhenStat:::printTabStyle(row_sep,11))
list1 <- c("Owner","Model","Cc")
print(PhenStat:::printTabStyle(list1,11))
print(PhenStat:::printTabStyle(row_sep,11))
list2 <- c("Natalja","Honda","125")
print(PhenStat:::printTabStyle(list2,11))
print(PhenStat:::printTabStyle(row_sep,11))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.