To cite the survey package in publications use:

Lumley T (2019). “survey: analysis of complex survey samples.” R package version 3.35-1.

Lumley T (2004). “Analysis of Complex Survey Samples.” Journal of Statistical Software, 9(1), 1-19. R package verson 2.2.

Corresponding BibTeX entries:

  @Misc{,
    author = {Thomas Lumley},
    year = {2019},
    title = {survey: analysis of complex survey samples},
    note = {R package version 3.35-1},
  }
  @Article{,
    year = {2004},
    author = {Thomas Lumley},
    title = {Analysis of Complex Survey Samples},
    journal = {Journal of Statistical Software},
    volume = {9},
    number = {1},
    pages = {1-19},
    note = {R package verson 2.2},
  }