R/hello.R

Defines functions hello

Documented in hello

##' A placeholder function using roxygen
##'
##' This function shows a standard text on the console. In a time-honored
##' tradition, it defaults to displaying \emph{hello, world}.
##' @param txt An optional character variable, defaults to \sQuote{world}
##' @return Nothing is returned but as a side effect output is printed
##' @examples
##' hello()
##' hello("and goodbye")
##' @export
hello <- function(txt = "world") {
    cat("Hello, ", txt, "\n")
}

Try the scalablebayesm package in your browser

Any scripts or data that you put into this service are public.

scalablebayesm documentation built on April 3, 2025, 7:55 p.m.