citHeader("When using rmgarch in publications, please cite:")

## R >= 2.8.0 passes package metadata to citation().
if(!exists("meta") || is.null(meta)) meta <- packageDescription("rmgarch")

year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s.", meta$Version)

citEntry(entry="Manual",
         title = "rmgarch: Multivariate GARCH models.",
         author = personList(as.person("Alexios Galanos")),
         year         = year,
         note         = note,
         textVersion = 
         paste("Alexios Galanos",
               sprintf("(%s).", year),
               "rmgarch: Multivariate GARCH models.",
	       note),
	 header = "To cite the rmgarch package, please use:"
)

