Hi,
So I am looking at the wing colour in broods of butterflies and how that is affected by altitude.
I have completed my colour analyses (pixel binning) but now need to make my graphs. I have values for:
percentage of black = BP
altitude = ALT
Mother ID = FAM
Species = SPE
percentage of red = RP
My BP and RP are values for each (over 500) individual but I want to have a linear regression with mean black / red percentage value for each brood (per FAM, removing broods with < 6 individuals) and plot this against ALT.
How do I begin to do this? Do I need to create a model for my data?
Thank you