You can install keyATM from either CRAN or GitHub. CRAN has a stable version while GitHub stores the latest version and developing version.

# Install release version from CRAN (updating keyATM is the same command)

# Install development version from GitHub
devtools::install_github("keyATM/keyATM", ref = "v0.5.0")  # specify a branch

If you want to try the latest development version, please specify the name of the branch with ref argument in devtools::install_github. You can find branches in our GitHub repository.

Please visit Preparation to check how to prepare text data to fit models with keyATM.