Defines functions demoCommands

Documented in demoCommands

#' Launches an editor containing the commands in a demo
#' @param demo name of demo.
#' @importFrom utils file.edit
#' @export
    options(editor = "internal")
  filename = paste(deparse(substitute(demo)),".R",sep="")
  pathname = system.file("demo",filename, package="nclbayes")
  file.edit(pathname,title = filename)

Try the nclbayes package in your browser

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

nclbayes documentation built on May 31, 2017, 3:13 a.m.