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

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

bibentry(
  bibtype      = "Manual",
  title        = "{polykde}: Polyspherical Kernel Density Estimation",
  author       = c(person(given = "Eduardo", family = "García-Portugués")),
  year         = year,
  note         = note,
  url          = "https://CRAN.R-project.org/package=polykde",
  textVersion  =
  paste(paste0("García-Portugués, E. (", year, ")."),
        "polykde: Polyspherical Kernel Density Estimation.",
        paste0(note, "."), "https://CRAN.R-project.org/package=polykde")
)

bibentry(
  bibtype      = "Article",
  title        = "Kernel density estimation with polyspherical data and its applications",
  author       = c(person(given = "Eduardo", family = "García-Portugués"),
                   person(given = "Andrea", family = "Meilán-Vila")),
  journal      = "Journal of the American Statistical Association",
  year         = "2025",
  volume       = "to appear",
  number       = "",
  pages        = "",
  url          = "https://doi.org/10.1080/01621459.2025.2521898",
  textVersion  =
  paste("García-Portugués, E. and Meilán-Vila, A. (2025).",
        "Kernel density estimation with polyspherical data and its applications.",
        "Journal of the American Statistical Association, to appear.",
        "https://doi.org/10.1080/01621459.2025.2521898")
)

bibentry(
  bibtype      = "InCollection",
  title        = "Hippocampus shape analysis via skeletal models and kernel smoothing",
  author       = c(person(given = "Eduardo", family = "García-Portugués"),
                   person(given = "Andrea", family = "Meilán-Vila")),
  booktitle    = "Statistical Methods at the Forefront of Biomedical Advances",
  editor       = c(person(given = "Yolanda", family = "Larriba")),
  year         = "2023",
  pages        = "63--82",
  publisher    = "Springer",
  address      = "Cham",
  url          = "https://doi.org/10.1007/978-3-031-32729-2_4",
  textVersion  =
  paste("García-Portugués, E. and Meilán-Vila, A. (2023).",
        "Hippocampus shape analysis via skeletal models and kernel smoothing.",
        "In Larriba, Y. (Ed.), Statistical Methods at the Forefront of Biomedical Advances,",
        "pp. 63-82. Springer, Cham.",
        "https://doi.org/10.1007/978-3-031-32729-2_4")
)
