Commit c04fc20
authored
Model fit (#358)
* started new model design function
* started fishset model design function
* started format data function
* working on formal data function, but need to figure out create_distance_matrix
* working on updating create_dist_matrix
* cleaned up code in create_distance_matrix but still need to run tests and make output consistent
* refactored create_distance_matrix
* added unit tests for create_dist_matrix and updated documentaiton
* updated model design section for creating distance matrix
* added 'long format data' to data types for unserialize_table
* format_model_deisgn completed but need some minor changes
* finished format_model_data() and added unit tests
* finished fishset_design function
* added unit tests for fishset_design
* clean up comments for testing
* fixed issues with unit tests
* commented out modeling code in vignette for now
* mostly completed the fishset_fit() function
* added sql table save to fishset_fit
* added unit tests for fishset_fit
* added RTMB to DESCRIPTION file
* remove NULL default for alt_name
* fixed mismatch in data class types
* added code to check class of unique ID
* added a 'native' print function for the fishset_fit function
* addressing PR review comments
* fix unit tests for format_model_data
* fix merge conflict in globals.r
* clean up more conflicts
* added error check for unique obs id in format_model_data
* minor updates
* updated unit tests
* removed a bunch of old modeling functions
* delete a bunch of old modeling functions
* addressed PR comments, cleaned up some R CMD warnings1 parent 88893a8 commit c04fc20
File tree
67 files changed
+830
-5119
lines changed- R
- man
- tests/testthat
- testdata/FishSETFolder/s1
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
67 files changed
+830
-5119
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
| |||
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
66 | | - | |
67 | 64 | | |
68 | 65 | | |
69 | 66 | | |
| |||
75 | 72 | | |
76 | 73 | | |
77 | 74 | | |
78 | | - | |
79 | 75 | | |
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
83 | 79 | | |
84 | | - | |
85 | | - | |
86 | 80 | | |
87 | | - | |
88 | 81 | | |
89 | 82 | | |
90 | 83 | | |
| |||
104 | 97 | | |
105 | 98 | | |
106 | 99 | | |
| 100 | + | |
107 | 101 | | |
108 | 102 | | |
109 | 103 | | |
| |||
112 | 106 | | |
113 | 107 | | |
114 | 108 | | |
115 | | - | |
116 | 109 | | |
117 | 110 | | |
118 | 111 | | |
| |||
161 | 154 | | |
162 | 155 | | |
163 | 156 | | |
164 | | - | |
165 | 157 | | |
166 | | - | |
167 | | - | |
168 | 158 | | |
169 | 159 | | |
170 | | - | |
171 | 160 | | |
172 | 161 | | |
173 | 162 | | |
| |||
196 | 185 | | |
197 | 186 | | |
198 | 187 | | |
199 | | - | |
200 | 188 | | |
201 | | - | |
202 | 189 | | |
203 | 190 | | |
204 | 191 | | |
| |||
239 | 226 | | |
240 | 227 | | |
241 | 228 | | |
242 | | - | |
243 | 229 | | |
244 | 230 | | |
245 | 231 | | |
| |||
351 | 337 | | |
352 | 338 | | |
353 | 339 | | |
354 | | - | |
355 | 340 | | |
356 | 341 | | |
357 | 342 | | |
| |||
365 | 350 | | |
366 | 351 | | |
367 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
368 | 357 | | |
369 | 358 | | |
370 | 359 | | |
| |||
564 | 553 | | |
565 | 554 | | |
566 | 555 | | |
| 556 | + | |
567 | 557 | | |
568 | 558 | | |
569 | 559 | | |
| |||
578 | 568 | | |
579 | 569 | | |
580 | 570 | | |
581 | | - | |
| 571 | + | |
| 572 | + | |
582 | 573 | | |
583 | 574 | | |
584 | 575 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
This file was deleted.
0 commit comments