printBanner | R Documentation |
Print a centered banner that carries to multiple lines
printBanner(str, banner.width=options()$width, char.perline=.75*banner.width, border="=")
str |
character string - a title within the banner |
banner.width |
width of banner, the default is set to fit current options |
char.perline |
number of characters per line for the title, the default is 75% of the banner.width parameter |
border |
type of character for the border |
This function prints a nice banner in both R and S-PLUS
nothing is returned
options
printBanner("This is a pretty banner", banner.width=40, char.perline=30)
# the output looks like this:
# ========================================
# This is a pretty banner
# ========================================
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.