Commit 1a3d84fc authored by patrick.lambert's avatar patrick.lambert
Browse files

bug in headers of exportToR

parent b42580a9
......@@ -322,14 +322,14 @@ public class AnalyseSpawnerFeatures extends AquaNismsGroupProcess<DiadromousFish
public String[][] exportToR() {
int nbBasin = ageOfFemaleMemories.size();
String[][] result = new String[nbBasin + 1][7];
String[][] result = new String[nbBasin + 1][6];
// headers
result[0][0] = "basin_id";
result[0][1] = "basin_name";
result[0][2] = "latitude";
result[0][3] = "mean_age_female"; // primiparous and multiparous
result[0][5] = "mean_age _male"; // primiparous and multiparous
result[0][6] = "pct_primiparous";
result[0][4] = "mean_age _male"; // primiparous and multiparous
result[0][5] = "pct_primiparous";
int i = 1;
for (Entry<RiverBasin, QueueMemory<Double>> entry : ageOfFemaleMemories.entrySet()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment