To cite package ‘lfactors’ in publications use:

Bailey P (2018). lfactors: Factors with Levels. R package version 1.0.4, https://github.com/pdbailey0/lfactors.

Corresponding BibTeX entry:

  @Manual{,
    title = {lfactors: Factors with Levels},
    author = {Paul Bailey},
    year = {2018},
    note = {R package version 1.0.4},
    url = {https://github.com/pdbailey0/lfactors},
  }