Difference between revisions of "File:Monica.zip"

From Testiwiki
Jump to: navigation, search
(code that produced the data)
(Rationale: decoding and transformations added)
Line 67: Line 67:
  
 
#decoding  missing values
 
#decoding  missing values
monica2$height[monica2$height==999] <- NA
+
monica$height[monica$height==999] <- NA
monica2$weight[monica2$weight==9999] <- NA
+
monica$weight[monica$weight==9999] <- NA
monica2$waist[monica2$waist==9999] <- NA
+
monica$waist[monica$waist==9999] <- NA
monica2$hip[monica2$hip==9999] <- NA
+
monica$hip[monica$hip==9999] <- NA
monica2$school[monica2$school == 99] <- NA
+
monica$school[monica$school == 99] <- NA
  
 
#unit transformations
 
#unit transformations
monica2$weight <- monica2$weight/10 #transform to kg
+
monica$weight <- monica$weight/10 #transform to kg
monica2$waist <- monica2$waist/10 #transform to cm
+
monica$waist <- monica$waist/10 #transform to cm
monica2$hip <- monica2$hip/10 #transform to cm
+
monica$hip <- monica$hip/10 #transform to cm
  
 
write.csv(monica, "//cesium/jtue$/_Documents/Monica.csv")
 
write.csv(monica, "//cesium/jtue$/_Documents/Monica.csv")

Revision as of 17:47, 8 December 2013



An example data from Monica study.

Rationale

An rcode for managing the Monica data into a more easily usable format. The produced csv file was then converted to zip and uploaded to File:Monica.zip.


File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current17:47, 8 December 2013 (594 KB)Jouni (talk | contribs)Some decodings and transformations applied.
11:28, 8 December 2013 (590 KB)Jouni (talk | contribs)An example data from Monica study. {{study}} Category:Cardiovascular disease Category:Data Category:Finland
  • You cannot overwrite this file.

There are no pages that link to this file.