I am very confused about what kind of statistical test to use in RStudio on my project,
I have measured the mean salinity for 3 levels of population density (low medium and high) across 6 months (therefore 6 mean values per population density level)
I want to see if there is a statistical significance between the mean Salinity value (Quantitative continuous data) and Population Density (categorical; low, medium, high) but I'm not sure which test to use I have tried both Friedmans & Kruskal-wallis but not sure which to use.
Many Thanks for any advice!