Training health impact: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
== Answer == | == Answer == | ||
==Rationale== | ==Rationale== | ||
Line 47: | Line 22: | ||
<rcode | <rcode | ||
label="Initiate functions" | label="Initiate functions" | ||
> | > | ||
library(OpasnetUtils) | |||
library(xtable) | |||
dependencies <- data.frame( | |||
Name = c("exposure"), | |||
Key = c("muRtYjhkphoNPQJI") | |||
) | |||
formula <- function(dependencies, ...) { | |||
ComputeDependencies(dependencies, ...) | |||
erf <- 1.5 # RR per ug / m3 | |||
background <- 100 / 100000 # cases per 100000 person-years | |||
population <- 50000 | |||
cases <- exposure * population * background * erf | |||
return(cases) | |||
} | |||
data <- tidy(op_baseGetData("opasnet_base", "Op_en5675"), "health.impact") | |||
health.impact <- new("ovariable", | |||
name = "health.impact", | |||
formula = formula, | |||
dependencies = dependencies, | |||
data = data | |||
) | ) | ||
out <- EvalOutput(health.impact, N = 10) | |||
print(xtable(out@output), type = "html") | |||
objects.put(health.impact) | |||
</rcode> | </rcode> | ||
Revision as of 08:36, 16 August 2012
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 | Year | Unit | Result | Description |
---|---|---|---|---|
1 | 2012 | cases/year | 10 - 100 | |
2 | 2020 | cases/year | 15 - 150 |
Formula
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
Related files
<mfanonymousfilelist></mfanonymousfilelist>