R Scripts

The script that generates the values and plots compiled in the preliminary findings file can be viewed here: Script – Preliminary findings

The script that generates the regression output analysed in the paper “Institutionalization of multilevel governance” can be viewed here: Script – UACES conference paper

The scripts for two papers on subjective well-being will be published soon.

Please note that these scripts are for demonstration purpose only, as datasets are needed to run them. Also note that simpler operations such as calculation of percentages are done separately in spreadsheets either before these analyses or after exporting certain files from R (these are noted in the scripts). For functions which cannot be found in standard R packages, see the section R functions from the above menu.

Scripts are presented with automatic syntax highlighting. This may not represent R syntax perfectly, and similarly it may not match the colours used by standard R code editors.