Training exposure: Difference between revisions
Jump to navigation
Jump to search
(works better) |
(→Data) |
||
(16 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Costs and valuations]] | [[Category:Costs and valuations]] | ||
[[Category:Opasnet training]] | |||
[[Category:Contains R code]] | |||
{{variable|moderator=Jouni|stub=Yes}} | {{variable|moderator=Jouni|stub=Yes}} | ||
Line 8: | Line 10: | ||
== Answer == | == Answer == | ||
< | <rcode embed=1 graphics=1> | ||
library(OpasnetUtils) | |||
library(ggplot2) | |||
objects.latest("Op_en5674", code_name = "initiate") | |||
exposure | |||
exposure <- EvalOutput(exposure) # for printing | |||
oprint(summary(exposure)) # fashionable design | |||
ggplot(exposure@output, aes(x = exposureResult, weight = 1, fill = Year)) + | |||
geom_density() + | |||
theme_grey(base_size = 24) | |||
</rcode> | </rcode> | ||
Line 38: | Line 29: | ||
== Rationale == | == Rationale == | ||
=== | ===Data=== | ||
<t2b index="Exposure agent,Year" obs="Result" desc="Description" unit="µg /m3"> | |||
PM2.5|2012|1 - 4| | |||
PM2.5|2020|10 - 11| | |||
</t2b> | |||
=== Calculations === | |||
<rcode | <rcode label="Initiate ovariable" name="initiate"> | ||
> | |||
library(OpasnetUtils) # relevant libraries | |||
# | # Define ovariable | ||
exposure <- Ovariable("exposure", ddata = "Op_en5674") | |||
colnames(exposure@data) <- gsub("[ \\.]", "_", colnames(exposure@data)) | |||
) | |||
objects.store(exposure) # save for later use | |||
cat("Ovariable exposure saved.\n") | |||
) | |||
</rcode> | </rcode> | ||
Line 87: | Line 55: | ||
==See also== | ==See also== | ||
{{ | {{Opasnet training}} | ||
==Keywords== | ==Keywords== | ||
Line 96: | Line 64: | ||
==Related files== | ==Related files== | ||
Latest revision as of 08:18, 3 June 2015
Moderator:Jouni (see all) |
This page is a stub. You may improve it into a full page. |
Upload data
|
Question
What is the exposure in the Training assessment?
Answer
Rationale
Data
Obs | Exposure agent | Year | Result | Description |
---|---|---|---|---|
1 | PM2.5 | 2012 | 1 - 4 | |
2 | PM2.5 | 2020 | 10 - 11 |
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