To cite package 'gap' in publications use:

Zhao J. H.(2019). gap: Genetic Analysis Package. R package version 1.2.1, https://CRAN.R-project.org/package=gap

Zhao, J. H. (2007) gap: Genetic Analysis Package. Journal of Statistical Software 23(8):1-18, http://www.jstatsoft.org/v23/i08

Corresponding BibTeX entries:

  @Manual{,
    title = {gap: Genetic Analysis Package},
    author = {J. H. Zhao},
    year = {2019},
    note = {R package version 1.2.1},
    url = {https://CRAN.R-project.org/package=gap},
  }
  @Article{,
    title = {gap: Genetic Analysis Package},
    author = {J. H. Zhao},
    journal = {Journal of Statistical Software},
    volume = {23},
    number = {8},
    pages = {1-18},
    year = {2007},
    url = {http://www.jstatsoft.org/v23/i08},
  }