Main content

Contributors:

Date created: | Last Updated:

: DOI | ARK

Creating DOI. Please wait...

Create DOI

Category: Project

Description: R scripts used to generate Figure 1 of the manuscript. We provide code for three different versions of Figure 1 (reflecting the three different types of cartograms available in the cartogram package): Contiguous cartogram (make maps for publication analysis.R), non-contiguous cartogram (make maps for publication analysis_revised_non_contiguous.R), and non-overlapping circles (make maps for publication analysis_revised_circles.R). In order to run the code, place all scripts in a new directory. Place all CSV files in a subdirectory called "eye_movement_publication_statistics"). Make sure that the directory with the scripts is the current R working directory, e.g., by making it the root directory of a new RStudio project. Make sure the packages countrycode, cartogram, sf, tmap, and ggpubr are installed. Warning messages during the run are due to missing country information in the publication data. Example output files in PDF format are provided.

Files

Loading files...

Citation

Recent Activity

Loading logs...

OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.