[R] Help with code

1Rnwb sbpurohit at gmail.com
Fri Dec 23 15:25:09 CET 2011


this is how the ouput from the code should be 

structure(list(HTN = 1:10, HTN_FDR = structure(c(4L, 2L, 1L, 
2L, 3L, 1L, 1L, 2L, 3L, 2L), .Label = c("Ctrl_noc", "T1D_noc", 
"T1D_oc", "T1d_w"), class = "factor"), Dyslipidemia = structure(c(3L, 
2L, 1L, 2L, 4L, 1L, 1L, 2L, 4L, 2L), .Label = c("Ctrl_noc", "T1D_noc", 
"T1D_oc", "T1D_w"), class = "factor"), CAD = structure(c(3L, 
2L, 1L, 2L, 3L, 1L, 1L, 2L, 3L, 2L), .Label = c("Ctrl_noc", "T1D_noc", 
"T1D_oc"), class = "factor"), CAD_FDR = structure(c(3L, 2L, 1L, 
2L, 3L, 1L, 1L, 2L, 3L, 2L), .Label = c("Ctrl_noc", "T1D_noc", 
"T1D_oc"), class = "factor"), Prior_MI = structure(c(3L, 2L, 
1L, 2L, 3L, 1L, 1L, 2L, 3L, 2L), .Label = c("Ctrl_noc", "T1D_noc", 
"T1D_oc"), class = "factor"), t1d_ptype = structure(c(3L, 3L, 
2L, 3L, 1L, 1L, 2L, 3L, 3L, 3L), .Label = c("Ctrl", "Ctrl_FDR", 
"T1D"), class = "factor")), .Names = c("HTN", "HTN_FDR", "Dyslipidemia", 
"CAD", "CAD_FDR", "Prior_MI", "t1d_ptype"), class = "data.frame", row.names
= c(NA, 
-10L))


--
View this message in context: http://r.789695.n4.nabble.com/Help-with-code-tp4218989p4228759.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list