-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path00_packages.R
More file actions
36 lines (30 loc) · 845 Bytes
/
00_packages.R
File metadata and controls
36 lines (30 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
################################################################################
# Reproducible code for the analysis of non-accidental mortality in:
#
# Mortality risks associated with short-term exposure to ultrafine particles
# in London and the West Midlands
#
# Nenon D, Fuller G, Masselot P, Gasparrini, A.
# Environmental Epidemiology - 2025
#
#
# Import packages
#
################################################################################
# Data prep/cleaning
library(readxl) # for uploading UFP data
library(openair) # for aggregating UFP data
# General data management
library(dplyr)
library(data.table)
library(tidyr)
library(lubridate)
# Analysis
library(Epi)
library(dlnm)
library(splines)
library(tsModel)
library(mixmeta) # for pooling West Midlands sites
# Plotting
library(ggplot2)
library(patchwork)