R/help.map.name.R

help.map.name <- function(x)
{
  if(is.null(x))
    return("")
  x <- splitme(x)
  if(resplit(x[1L:2L]) == "s(") {
    x <- resplit(c("sfoofun", x[2L:length(x)]))
    x <- eval(parse(text = x), envir = parent.frame())
    if(is.null(x))
      x <- "bayesxmap"
  } else  x <- "bayesxmap"

  return(x)
}
datacamp/R2BayesX documentation built on May 14, 2019, 7:10 p.m.