-
Notifications
You must be signed in to change notification settings - Fork 0
/
RosasPolution.R
44 lines (28 loc) · 1.01 KB
/
RosasPolution.R
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
35
36
37
38
39
40
41
42
43
###############
#
# Poluttion Roses
# Quintero & Puchuncavi
# PM 2.5 & SO2
# Datos horarios
#
###############
#file.choose()
setwd("E:\\OneDrive\\Documentos\\Francisco\\Universidad\\2022\\Fund. Ciencia de Datos\\PROYECTO FINAL\\data\\Quintero\\")
library(openair)
quintero <- read.csv("quintero_v2.csv", sep=";",stringsAsFactors=FALSE, dec = ",")
quintero.2021 <- subset(quintero, anho == 2021)
summary(quintero.2021$pm25)
summary(quintero.2021$so2)
#################
# Poluttion Rose
#################
# Quintero ------------
pollutionRose(quintero.2021, ws="ws", wd="wd",
pollutant = "pm25",
par.settings=list(axis.line=list(col="lightgray")),
col = c("#4f4f4f","#0a7cb9","#f9be00","#ff7f2f","#d7153a"))
pollutionRose(quintero.2021, ws="ws", wd="wd",
pollutant = "so2",
par.settings=list(axis.line=list(col="lightgray")),
col = c("#4f4f4f","#0a7cb9","#f9be00","#ff7f2f","#d7153a"))
# Puchuncavi ---------