'Choosing samples that maximise coverage of a biological gradient
I have several tanks covering a gradient in salinity (please see attached file; unit arbitrary). My task is to select 15 tanks that cover the gradient best. However, some salinity ranges are overrepresented in the data. Thus, there is the chance that these salinity windows will be overrepresented if I choose tanks in a regular manner. Is there a possibility to correct for that using the programming language R? If there is an dedicated R package for doing that job, that would be very helpful as well.

Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
