Difference between revisions of "Assessment of building policies' effect on dampness and asthma in Europe"
From Testiwiki
(→R code for detailed analysis: rough new version) |
m (→Definition) |
||
Line 41: | Line 41: | ||
finaldf1 <- as.data.frame(as.table(final1)) | finaldf1 <- as.data.frame(as.table(final1)) | ||
finaldf1 <- finaldf1[finaldf1[,"Freq"]!=0,] | finaldf1 <- finaldf1[finaldf1[,"Freq"]!=0,] | ||
− | barplot(finaldf1[,"Freq"], | + | barplot(finaldf1[,"Freq"], names.arg=c("2010", "2020 Policy", "2020 BAU", "2030 Policy", "2030 BAU", "2050 Policy", "2050 BAU", |
"2050 Biomass", "2050 Insulation", "2050 Renovation")) | "2050 Biomass", "2050 Insulation", "2050 Renovation")) | ||
#temp <- array(NA, dim = c(4,3,3), dimnames = list(dimnames(final)[[1]][c(1,3:5)],dimnames(final)[[2]][2:4],dimnames(final)[[3]] )) | #temp <- array(NA, dim = c(4,3,3), dimnames = list(dimnames(final)[[1]][c(1,3:5)],dimnames(final)[[2]][2:4],dimnames(final)[[3]] )) |
Revision as of 08:07, 13 January 2011
This page is a assessment.
The page identifier is Op_en4731 |
---|
Moderator:Teemu R (see all) |
This page is a stub. You may improve it into a full page, and then a rating bar will appear here. |
Upload data
|
Contents
Scope
Purpose
What are the effects of different building policies on dampness and asthma prevalence in Europe?
Boundaries etc.
Boundaries, scenarios, intended users, and participants are the same as in the Mega case study.
Definition
Error creating thumbnail: Unable to save thumbnail to destination
- Decision variables
- Other variables
- Population of Europe by Country
- Asthma prevalence
- heande:HI:Air exchange rate for European residences
- heande:Moisture damage
- ERF of indoor dampness on respiratory health effects
- Indicators
R code for detailed analysis
- The code calculates the difference in number of asthmas due to dampness, between policies being successful or not and compared to the initial year of 2010.
asthma <- op_baseGetData("opasnet_base", "Op_en4723") array <- DataframeToArray(asthma) final <- apply(array, c(2,3,4,6), mean, na.rm=TRUE) final <- apply(final, c(2,3,4), sum, na.rm=TRUE) final1 <- apply(final, c(1,2), mean, na.rm=TRUE) finaldf1 <- as.data.frame(as.table(final1)) finaldf1 <- finaldf1[finaldf1[,"Freq"]!=0,] barplot(finaldf1[,"Freq"], names.arg=c("2010", "2020 Policy", "2020 BAU", "2030 Policy", "2030 BAU", "2050 Policy", "2050 BAU", "2050 Biomass", "2050 Insulation", "2050 Renovation")) #temp <- array(NA, dim = c(4,3,3), dimnames = list(dimnames(final)[[1]][c(1,3:5)],dimnames(final)[[2]][2:4],dimnames(final)[[3]] )) #for (i in 1:4) {temp[i,1,] <- final[,2,]-final[,2,]} #final <- final[,]-final[rep(1,4),] #barplot(final, beside=TRUE, legend.text=c("2010","2020","2030","2050"))
Result
Asthma incidence increase due to building dampness in Europe: Show results
Error creating thumbnail: Unable to save thumbnail to destination
See also
Keywords
Dampness, indoor air, asthma, Europe