Displaying 1 result from an estimated 1 matches for "ww_wing_si_spr".
2011 Dec 27
2
How to create a loop and then extract values from the list generated by cor.test
...;Individual_ID",
"FeatherPosition", "Delta13C"), row.names = c(NA, 18L), class = "data.frame")
## Create vector with unique individual IDs
WW_Wing_Individuals <- unique(WW_Wing_SI$Individual_ID)
## Create temp dataset with for the first individual
temp <- WW_Wing_SI_Spring[ which(WW_Wing_SI_Spring$Individual_ID ==
WW_Wing_Individuals[1]), ]
## Create temp2 dateset with results of pearsons product-moment
correlation (for the first individual)
temp2 <- cor.test(temp$Delta13C, temp$FeatherPosition, method="pearson")
Many Cheers,
Keith
****************...