search for: ww_08i_01

Displaying 2 results from an estimated 2 matches for "ww_08i_01".

2011 Dec 18
1
Identifying records with the correct number of repeated measures
...; for individuals sampled only once, while it will be %in% c('P1', 'P2', 'P3', 'P4', 'P5', 'P6', 'P7', 'P8', 'P9') for individuals sampled 9 times. In my sample data below the new vector (e.g. WW_Names) would include only 'WW_08I_01' and 'WW_08I_03'. Two other quick questions: 1) how can I re-number my 'ROWID', as when I subset my complete dataset to a smaller dataset the old ROWID's are no longer meaningful, and 2) when I subset my dataset my 'factor' variables contain all the levels from the...
2011 Dec 19
1
calculating correlation coefficients on repeated measures
...of 'Delta13C' by individual. the function 'cor' only seems to work when comparing 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&q...