knitr::opts_chunk$set( collapse = TRUE, comment = "" )
pops_hormones.sas7bdat is the original and raw NHANCE data.
nhance_hemoglobin_PCB.csv is a subset data based Hemoglobin hypothesis. which is Are POPs associated with hemoglobin A1c in non-diabetics. More details about the hypothesis are in here. Further details of its variables can be found in the information table.
hemoglobin.PCB
is a cleaned dataset based on nhance_hemoglobin_PCB.csv
, which can be accessed directly from the prime.total.effect
package. The specific procedure are following:
library(prime.total.effect) dim(hemoglobin.PCB) # there are still many NAs in the data set, to remove the all the NAs, you could use na.omit PCB.no.missing <- na.omit(hemoglobin.PCB) # response is LBXGH head(PCB.no.missing) # covariates are PCBs head(PCB.no.missing) dim(hemoglobin.PCB) dim(PCB.no.missing)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.