On Fri, Dec 23, 2011 at 9:25 AM, 1Rnwb <sbpuro...@gmail.com> wrote: > this is how the ouput from the code should be
What code might that be? Readers of the R-help email list have no idea whatsoever what you're asking. Please include context, as requested in the posting guide. Sarah > 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)) > > -- Sarah Goslee http://www.functionaldiversity.org ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.