Difference between revisions of "ERFs of vitamins"
From Testiwiki
(→Data) |
(codes updated) |
||
Line 9: | Line 9: | ||
== Answer == | == Answer == | ||
+ | <rcode embed=1> | ||
+ | #This is code Op_en6866/ on page [[ERFs of vitamins]] | ||
+ | |||
+ | library(OpasnetUtils) | ||
+ | objects.latest("Op_en6866", code_name="initiate") | ||
+ | ERF_vit <- EvalOutput(ERF_vit) | ||
+ | threshold_vit <- Evaloutput(threshold_vit) | ||
+ | |||
+ | oprint(summary(ERF_vit)) | ||
+ | oprint(summary(threshold_vit)) | ||
+ | </rcode> | ||
== Rationale == | == Rationale == | ||
Line 14: | Line 25: | ||
=== Data === | === Data === | ||
− | <t2b index="Exposure agent | + | * Response metric: 1 if the recommendation is not met, 0 if it is met. |
− | Vitamin D|Vitamin D recommendation | + | |
+ | <t2b index="Exposure agent,Response,Exposure,Exposure unit,ER function,Scaling,Observation" locations="Threshold,ERF" desc="Description" unit="-"> | ||
+ | Vitamin D|Vitamin D recommendation|Daily intake|ug /d|Step|None|7.5|100| | ||
</t2b> | </t2b> | ||
=== Calculations === | === Calculations === | ||
− | <rcode embed=1 label="Initiate | + | <rcode embed=1 label="Initiate ovariables (for developers only)" name="initiate"> |
+ | # This is code Op_en6866/initiate on page [[ERFs of vitamins]] | ||
library(OpasnetUtils) | library(OpasnetUtils) | ||
− | d <- opbase.data("Op_en6866") | + | d <- opbase.data("Op_en6866")[-1] #Remove Obs |
− | |||
colnames(d) <- gsub(" ", "_", colnames(d)) | colnames(d) <- gsub(" ", "_", colnames(d)) | ||
d$Exposure_agent <- gsub(" ", "_", d$Exposure_agent) | d$Exposure_agent <- gsub(" ", "_", d$Exposure_agent) | ||
d$Result <- ifelse(d$Result == "", "0", as.character(d$Result)) | d$Result <- ifelse(d$Result == "", "0", as.character(d$Result)) | ||
− | + | ERF_vit <- Ovariable("ERF_vit", data = d[d$Observation == "ERF", colnames(d) != "Observation"]) | |
− | + | threshold_vit <- Ovariable("threshold_vit", data = d[d$Observation == "Threshold", colnames(d) != "Observation"]) | |
− | objects.store( | + | objects.store(ERF_vit, threshold_vit) |
− | cat("Ovariables | + | cat("Ovariables ERF_vit, threshold_vit stored.\n") |
</rcode> | </rcode> | ||
==See also== | ==See also== | ||
− | + | * [[Exposure-response function]] | |
==References== | ==References== | ||
Line 53: | Line 66: | ||
* [http://www.ncbi.nlm.nih.gov/pubmed/10232622 Vitamin D supplementation, 25-hydroxyvitamin D concentrations, and safety.] | * [http://www.ncbi.nlm.nih.gov/pubmed/10232622 Vitamin D supplementation, 25-hydroxyvitamin D concentrations, and safety.] | ||
* [http://www.ncbi.nlm.nih.gov/pubmed/20511052 Low vitamin D status: definition, prevalence, consequences, and correction.] | * [http://www.ncbi.nlm.nih.gov/pubmed/20511052 Low vitamin D status: definition, prevalence, consequences, and correction.] | ||
− | |||
− | |||
− |
Revision as of 14:01, 19 April 2017
This page is a variable.
The page identifier is Op_en6866 |
---|
Moderator:Jouni (see all) |
Give your opinion to the peer rating of the content of this page. |
Upload data
|
Question
What are exposure-response functions to vitamins?
Answer
Rationale
Data
- Response metric: 1 if the recommendation is not met, 0 if it is met.
Obs | Exposure agent | Response | Exposure | Exposure unit | ER function | Scaling | Threshold | ERF | Description |
---|---|---|---|---|---|---|---|---|---|
1 | Vitamin D | Vitamin D recommendation | Daily intake | ug /d | Step | None | 7.5 | 100 |
Calculations
See also
References
- Serum 25-hydroxyvitamin D levels and survival in colorectal and breast cancer patients: Systematic review and meta-analysis of prospective cohort studies
- New insights into the role of vitamin D and calcium in osteoporosis management: an expert roundtable discussion.
- Vitamin D Therapy
- Vitamin D insufficiency and chronic diseases: hype and reality.
- Osteoporosis - a review
- Vitamin D supplementation, 25-hydroxyvitamin D concentrations, and safety.
- Low vitamin D status: definition, prevalence, consequences, and correction.