This library provides an R implementation of the statistical model introduced in "News Sharing on Social Media: Mapping the Ideology of News Media, Politicians, and the Mass Public" (Eady et al., Forthcoming).
A software vignette with instructions for installation and usage of the library can be found here
Eady, Gregory, Richard Bonneau, Joshua A. Tucker and Jonathan Nagler. Forthcoming. "News Sharing on Social Media: Mapping the Ideology of News Media, Politicians, and the Mass Public." Political Analysis