Skip to content
Snippets Groups Projects
Commit 8b4ed6a4 authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

Added a comment.

parent d9e04986
No related branches found
No related tags found
No related merge requests found
......@@ -17,5 +17,6 @@ populateConcentrations <- function(rawData){ # rawData is a dataframe with valu
concentrationColumns$ConcHigh <- as.numeric(rawData$value)
tempConcLow<-ifelse((rawData$code!="<" | is.na(rawData$code)),rawData$value,0)
concentrationColumns$Uncen <- ifelse(tempConcLow==0,0,1)
#Add if value = NA?
return (concentrationColumns) # returns ConcLow, ConcHigh, Uncen (0 if censored, 1 if uncensored)
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment