Training health impact: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(→Explanations: the whole section is outdated and removed) |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Costs and valuations]] | [[Category:Costs and valuations]] | ||
[[Category:Opasnet training]] | [[Category:Opasnet training]] | ||
[[Category:Contains R code]] | |||
{{variable|moderator=Jouni|stub=Yes}} | {{variable|moderator=Jouni|stub=Yes}} | ||
Line 9: | Line 10: | ||
== Answer == | == Answer == | ||
<rcode | <rcode graphics=1> | ||
graphics= | |||
> | |||
library(OpasnetUtils) | |||
library(ggplot2) | |||
objects.latest("Op_en5675", code_name = "initiate") # [[Training health impact]] | |||
health_impact <- EvalOutput(health_impact) | |||
oprint(summary(health_impact)) | |||
) | |||
ggplot(health_impact@output, aes(x = health_impactResult, colour = Year)) + | |||
geom_density() + | |||
facet_grid(Trait ~ Year) + | |||
theme_grey(base_size = 24) | |||
</rcode> | </rcode> | ||
Line 39: | Line 32: | ||
===Data=== | ===Data=== | ||
<t2b index=" | <t2b index="Trait" obs="Result" desc="Description" unit="cases /(µg/m3) /a"> | ||
Respiratory disease|20 - 30| | |||
</t2b> | </t2b> | ||
=== | ===Dependencies=== | ||
* [[Training exposure]] | |||
===Calculations=== | |||
<rcode label="Initiate ovariable" name="initiate"> | |||
library(OpasnetUtils) | |||
health_impact <- Ovariable("health_impact", | |||
dependencies = data.frame(Name = "exposure", Ident = "Op_en5674/initiate"), # [[Training exposure]] exposure | |||
formula = function(...) { | |||
ERF <- Ovariable("ERF", ddata = "Op_en5675") # [[Training health impact]] | |||
colnames(ERF@data) <- gsub("[ \\.]", "_", colnames(ERF@data)) | |||
out <- exposure * ERF | |||
return(out) | |||
} | |||
) | ) | ||
objects.store(health_impact) | |||
cat("Ovariable health_impact saved.\n") | |||
</rcode> | </rcode> | ||
Line 90: | Line 75: | ||
==Related files== | ==Related files== | ||
Latest revision as of 15:48, 24 March 2015
Moderator:Jouni (see all) |
This page is a stub. You may improve it into a full page. |
Upload data
|
Question
What is the health impact in the Training assessment?
Answer
Rationale
Data
Obs | Trait | Result | Description |
---|---|---|---|
1 | Respiratory disease | 20 - 30 |
Dependencies
Calculations
See also
Help pages | Wiki editing • How to edit wikipages • Quick reference for wiki editing • Drawing graphs • Opasnet policies • Watching pages • Writing formulae • Word to Wiki • Wiki editing Advanced skills |
Training assessment (examples of different objects) | Training assessment • Training exposure • Training health impact • Training costs • Climate change policies and health in Kuopio • Climate change policies in Kuopio |
Methods and concepts | Assessment • Variable • Method • Question • Answer • Rationale • Attribute • Decision • Result • Object-oriented programming in Opasnet • Universal object • Study • Formula • OpasnetBaseUtils • Open assessment • PSSP |
Terms with changed use | Scope • Definition • Result • Tool |
Keywords
References