Displaying 2 results from an estimated 2 matches for "ww_sample_si".
2011 Dec 18
1
Identifying records with the correct number of repeated measures
...#39;s are
no longer meaningful, and 2) when I subset my dataset my 'factor'
variables contain all the levels from the complete dataset, how can I
reset these factor variables to condense my 'dump' file as much as
possible?
Many Holiday Cheers from a NEW R user!
Keith
Sample data:
WW_Sample_SI <-
structure(list(Individual_ID = structure(c(1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 2L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 4L, 5L
), .Label = c("WW_08I_01", "WW_08I_02", "WW_08I_03", "WW_08I_04",
"WW_08I_05"), class = "factor"), Site_Nam...
2011 Dec 19
1
calculating correlation coefficients on repeated measures
...ing two individual measures (e.g. P1 and P2, P2 and
P3, etc.) and only if I restructure my table. Any suggestions:
In SAS with 'proc corr' I would like results that look like:
Individual ID, r, p
WW_08I_01,-0.03,0.94
WW_08I_03,0.53,0.14
Trying to get started in R!
Keith
Sample dataset:
WW_Sample_SI <-
structure(list(Individual_ID = structure(c(1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L), .Label = c("WW_08I_01",
"WW_08I_03"), class = "factor"), FeatherPosition = structure(c(1L,
2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 1L, 2L, 3L, 4L, 5L, 6L,...