R/textfun.R

Defines functions textfun

textfun <-
function(text, speed = 0.05)
{
  text <- strsplit(text,""," ")[[1L]]
  Sys.sleep(speed)
  for(w in text) {
    cat(w)
    Sys.sleep(speed)
  }
  Sys.sleep(speed)
  cat("\n")

  return(invisible(NULL))
}

Try the R2BayesX package in your browser

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

R2BayesX documentation built on Oct. 20, 2023, 9:11 a.m.