hi: Start a conversation

Description Usage Arguments Value Examples

View source: R/hi.R

Description

This function will produce a friendly greeting, useful in starting conversations.

Usage

1
hi(who, how = c("shout", "whisper", "asis"))

Arguments

who

character(1) Name of person to be greeted

how

character(1) (optional). How is the person to be greeted. Options include "shout", "whisper" and "asis".

Value

A character(1) vector containing appropriate greeting.

Examples

1
2
3
4
hi("Craig")
#\dontrun{   # can also use donttest{}
#   hi("Craig", "shout")
# }

crussellmiller/Snowfall documentation built on May 14, 2019, 12:06 p.m.