To cite package 'TwoRegression' in publications use:

Paul R. Hibbing (2018). TwoRegression: Process Data from Wearable Research Devices Using Two-Regression Algorithms. URL https://github.com/paulhibbing/TwoRegression/.

Corresponding BibTeX entry:

  @Misc{,
    title = {TwoRegression: Process Data from Wearable Research Devices
      Using Two-Regression Algorithms},
    author = {Paul R. Hibbing},
    year = {2018},
    url = {https://github.com/paulhibbing/TwoRegression/},
  }