How to cite the R package ngram
ngram is a popular R package that is available at https://cran.r-project.org/web/packages/ngram/index.html. By citing R packages in your paper you lay the grounds for others to be able to reproduce your analysis and secondly you are acknowledging the time and work people have spent creating the package.
APA citation
Formatted according to the APA Publication Manual 7th edition. Simply copy it to the References page as is.
The minimal requirement is to cite the R package in text along with the version number. Additionally, you can include the reference list entry the authors of the ngram package have suggested.
Example of an in-text citation
Analysis of the data was done using the ngram package (v3.0.4; Schmidt & Heckendorf, 2017).
Reference list entry
Schmidt, D., & Heckendorf, C. (2017). ngram: Fast n-Gram Tokenization. https://cran.r-project.org/package=ngram
Vancouver citation
Formatted according to Vancouver style. Simply copy it to the references section as is.
Example of an in-text citation
Analysis of the data was done using the ngram package v3.0.4 (1).
Reference list entry
1.Schmidt D, Heckendorf C. ngram: Fast n-Gram Tokenization [Internet]. 2017. Available from: https://cran.r-project.org/package=ngram
BibTeX
Reference entry in BibTeX format. Simply copy it to your favorite citation manager.
@MISC{Schmidt2017-ak, title = "{ngram}: Fast n-Gram Tokenization", author = "Schmidt, Drew and Heckendorf, Christian", year = 2017, url = "https://cran.r-project.org/package=ngram" }
RIS
Reference entry in RIS format. Simply copy it to your favorite citation manager.
TY - MISC AU - Schmidt, Drew AU - Heckendorf, Christian TI - ngram: Fast n-Gram Tokenization PY - 2017 DA - 2017 UR - https://cran.r-project.org/package=ngram ER -
Other citation styles (ACS, ACM, IEEE, ...)
BibGuru offers more than 8,000 citation styles including popular styles such as AMA, ACN, ACS, CSE, Chicago, IEEE, Harvard, and Turabian, as well as journal and university specific styles! Give it a try now: Start citing now!
ngram R package release history
Version | Release date |
---|---|
3.0.3 | 2017-03-24 |
3.0.2 | 2017-01-17 |
3.0.1 | 2016-07-13 |
3.0.0 | 2016-05-10 |
1.1 | 2014-06-25 |
1.0 | 2014-06-23 |