Difference between revisions of "Training health impact"
From Testiwiki
(created pages for training) |
(→Explanations: the whole section is outdated and removed) |
||
(22 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[Category:Costs and valuations]] | |
− | + | [[Category:Opasnet training]] | |
− | + | [[Category:Contains R code]] | |
− | + | {{variable|moderator=Jouni|stub=Yes}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{variable|moderator=|stub=Yes}} | ||
== Question == | == Question == | ||
+ | What is the health impact in the [[Training assessment]]? | ||
== Answer == | == Answer == | ||
+ | <rcode graphics=1> | ||
+ | |||
+ | 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> | |
+ | ==Rationale== | ||
+ | ===Data=== | ||
− | === | + | <t2b index="Trait" obs="Result" desc="Description" unit="cases /(µg/m3) /a"> |
+ | Respiratory disease|20 - 30| | ||
+ | </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> | ||
==See also== | ==See also== | ||
+ | |||
+ | {{Opasnet training}} | ||
==Keywords== | ==Keywords== | ||
Line 54: | Line 75: | ||
==Related files== | ==Related files== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 15:48, 24 March 2015
This page is a variable.
The page identifier is Op_en5675 |
---|
Moderator:Jouni (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
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