Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

printBanner

Print a nice banner


Description

Print a centered banner that carries to multiple lines

Usage

printBanner(str, banner.width=options()$width, char.perline=.75*banner.width, border="=")

Arguments

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

Details

This function prints a nice banner in both R and S-PLUS

Value

nothing is returned

See Also

options

Examples

printBanner("This is a pretty banner", banner.width=40, char.perline=30)

# the output looks like this:
# ========================================
#         This is a pretty banner
# ========================================

haplo.stats

Statistical Analysis of Haplotypes with Traits and Covariates when Linkage Phase is Ambiguous

v1.8.6
GPL (>= 2)
Authors
Sinnwell JP, Schaid DJ
Initial release
2020-10-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.