Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SimAquaLife
GR3D
Commits
1a3d84fc
Commit
1a3d84fc
authored
Apr 22, 2021
by
patrick.lambert
Browse files
bug in headers of exportToR
parent
b42580a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/analysis/AnalyseSpawnerFeatures.java
View file @
1a3d84fc
...
...
@@ -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
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment