citHeader("To cite spTimer in publications use:")

out <- packageDescription("spTimer")
year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", out$Date)
vers <- paste("R package version", out$Version)

citEntry(entry = "Article",
  title        = "{spTimer}: Spatio-Temporal Bayesian Modeling Using {R}",
  author    = personList(as.person("Khandoker Shuvo Bakar"),
                                      as.person("Sujit K. Sahu")),
  journal    = "Journal of Statistical Software",
  year         = "2014",
  volume    = "Accepted",
  number   = "",
  pages      = "",
  url           = "http://www.jstatsoft.org/",

  textVersion  =
  paste("Bakar, K.S. and Sahu, S.K. (2014).",
        "spTimer: Spatio-Temporal Bayesian Modeling Using R",
        "Journal of Statistical Software, Accepted.",
        "URL: http://www.jstatsoft.org/")
)

citEntry(entry="Manual",
  title = "spTimer: Spatio-Temporal Bayesian Modeling Using R",
  author    = personList(as.person("Khandoker Shuvo Bakar"),
                                      as.person("Sujit K. Sahu")),
  year = year,
  note = vers,
     
  textVersion =
  paste("Khandoker Shuvo Bakar, Sujit K. Sahu (",year,
           "). spTimer: Spatio-Temporal Bayesian Modeling Using R", vers, ".", sep="")
)

