This function calls mkinfit
on all combinations of models and datasets
specified in its first two arguments.
mmkin(models, datasets, cores = round(detectCores()/2), cluster = NULL, ...)
mkinmod
objects.
mkinfit
.
cluster
argument is NULL
.
makeCluster
to be used for parallel
execution.
mkinfit
.
A matrix of mkinfit
objects that can be indexed using the model
and dataset names as row and column indices.
[.mmkin
for subsetting, plot.mmkin
for plotting.
m_synth_SFO_lin <- mkinmod(parent = mkinsub("SFO", "M1"), M1 = mkinsub("SFO", "M2"), M2 = mkinsub("SFO"), use_of_ff = "max")#>m_synth_FOMC_lin <- mkinmod(parent = mkinsub("FOMC", "M1"), M1 = mkinsub("SFO", "M2"), M2 = mkinsub("SFO"), use_of_ff = "max")#>models <- list(SFO_lin = m_synth_SFO_lin, FOMC_lin = m_synth_FOMC_lin) datasets <- lapply(synthetic_data_for_UBA_2014[1:3], function(x) x$data) names(datasets) <- paste("Dataset", 1:3) time_default <- system.time(fits.0 <- mmkin(models, datasets)) time_1 <- system.time(fits.1 <- mmkin(models, datasets, cores = 1))#> Model cost at call 1 : 31054.59 #> Model cost at call 3 : 31054.59 #> Model cost at call 8 : 15089.57 #> Model cost at call 9 : 11464.3 #> Model cost at call 11 : 11464.1 #> Model cost at call 16 : 5723.32 #> Model cost at call 17 : 5723.318 #> Model cost at call 19 : 5723.304 #> Model cost at call 21 : 5723.304 #> Model cost at call 24 : 3968.126 #> Model cost at call 25 : 3968.124 #> Model cost at call 28 : 3968.119 #> Model cost at call 31 : 3416.421 #> Model cost at call 32 : 3416.42 #> Model cost at call 36 : 3416.418 #> Model cost at call 38 : 866.5564 #> Model cost at call 42 : 866.5557 #> Model cost at call 45 : 670.4833 #> Model cost at call 47 : 670.476 #> Model cost at call 53 : 312.9905 #> Model cost at call 57 : 312.9904 #> Model cost at call 58 : 312.9904 #> Model cost at call 61 : 287.8916 #> Model cost at call 63 : 287.8916 #> Model cost at call 66 : 287.8916 #> Model cost at call 69 : 284.5441 #> Model cost at call 71 : 284.5441 #> Model cost at call 73 : 284.5441 #> Model cost at call 76 : 283.4533 #> Model cost at call 78 : 283.4533 #> Model cost at call 83 : 282.1356 #> Model cost at call 85 : 282.1356 #> Model cost at call 88 : 282.1356 #> Model cost at call 90 : 280.7846 #> Model cost at call 92 : 280.7846 #> Model cost at call 95 : 280.7846 #> Model cost at call 97 : 278.4856 #> Model cost at call 98 : 274.5025 #> Model cost at call 99 : 269.2866 #> Model cost at call 101 : 269.2866 #> Model cost at call 102 : 269.2866 #> Model cost at call 103 : 269.2866 #> Model cost at call 106 : 254.1284 #> Model cost at call 108 : 254.1283 #> Model cost at call 109 : 254.1283 #> Model cost at call 112 : 254.128 #> Model cost at call 114 : 233.1376 #> Model cost at call 116 : 233.1376 #> Model cost at call 118 : 233.1375 #> Model cost at call 121 : 227.5879 #> Model cost at call 124 : 227.5879 #> Model cost at call 125 : 227.5878 #> Model cost at call 129 : 217.0041 #> Model cost at call 133 : 217.0041 #> Model cost at call 135 : 217.0041 #> Model cost at call 136 : 215.1367 #> Model cost at call 138 : 215.1367 #> Model cost at call 143 : 213.3794 #> Model cost at call 145 : 213.3794 #> Model cost at call 150 : 211.0201 #> Model cost at call 152 : 211.0201 #> Model cost at call 154 : 211.0201 #> Model cost at call 155 : 211.0201 #> Model cost at call 157 : 210.6426 #> Model cost at call 159 : 210.6426 #> Model cost at call 160 : 210.6425 #> Model cost at call 164 : 207.6331 #> Model cost at call 167 : 207.6331 #> Model cost at call 171 : 206.2366 #> Model cost at call 173 : 206.2366 #> Model cost at call 174 : 206.2366 #> Model cost at call 178 : 204.8117 #> Model cost at call 180 : 204.8117 #> Model cost at call 185 : 204.7988 #> Model cost at call 187 : 204.7988 #> Model cost at call 190 : 204.7988 #> Model cost at call 192 : 203.5122 #> Model cost at call 194 : 203.5122 #> Model cost at call 197 : 203.5122 #> Model cost at call 198 : 203.5122 #> Model cost at call 199 : 203.354 #> Model cost at call 201 : 203.354 #> Model cost at call 204 : 203.354 #> Model cost at call 206 : 202.6825 #> Model cost at call 208 : 202.6825 #> Model cost at call 209 : 202.6825 #> Model cost at call 212 : 202.6825 #> Model cost at call 213 : 202.4582 #> Model cost at call 215 : 202.4582 #> Model cost at call 220 : 202.3261 #> Model cost at call 222 : 202.3261 #> Model cost at call 227 : 202.2306 #> Model cost at call 229 : 202.2306 #> Model cost at call 231 : 202.2306 #> Model cost at call 234 : 202.115 #> Model cost at call 236 : 202.115 #> Model cost at call 238 : 202.115 #> Model cost at call 241 : 202.0397 #> Model cost at call 243 : 202.0397 #> Model cost at call 248 : 201.8989 #> Model cost at call 249 : 201.8551 #> Model cost at call 252 : 201.8551 #> Model cost at call 257 : 201.676 #> Model cost at call 259 : 201.676 #> Model cost at call 264 : 201.6285 #> Model cost at call 266 : 201.6285 #> Model cost at call 270 : 201.6284 #> Model cost at call 271 : 201.5876 #> Model cost at call 272 : 201.5876 #> Model cost at call 278 : 201.5317 #> Model cost at call 279 : 201.5317 #> Model cost at call 286 : 201.5207 #> Model cost at call 287 : 201.5207 #> Model cost at call 289 : 201.5207 #> Model cost at call 293 : 201.5207 #> Model cost at call 294 : 201.5207 #> Model cost at call 296 : 201.5174 #> Model cost at call 301 : 201.5174 #> Model cost at call 304 : 201.5169 #> Model cost at call 305 : 201.5169 #> Model cost at call 306 : 201.5169 #> Model cost at call 309 : 201.5169 #> Model cost at call 312 : 201.5169 #> Model cost at call 314 : 201.5169 #> Model cost at call 322 : 201.5169 #> Model cost at call 325 : 201.5169 #> Model cost at call 340 : 201.5169 #> Optimisation by method Port successfully terminated. #> Model cost at call 1 : 35974.4 #> Model cost at call 3 : 35974.4 #> Model cost at call 5 : 35974.4 #> Model cost at call 7 : 35974.4 #> Model cost at call 9 : 13270.14 #> Model cost at call 10 : 12432.22 #> Model cost at call 14 : 12432.12 #> Model cost at call 16 : 12431.88 #> Model cost at call 18 : 5356.271 #> Model cost at call 19 : 5356.268 #> Model cost at call 20 : 5356.251 #> Model cost at call 22 : 5356.245 #> Model cost at call 27 : 1507.839 #> Model cost at call 33 : 1507.839 #> Model cost at call 35 : 582.0818 #> Model cost at call 36 : 582.0813 #> Model cost at call 38 : 582.0802 #> Model cost at call 40 : 582.0799 #> Model cost at call 44 : 328.9337 #> Model cost at call 45 : 328.9335 #> Model cost at call 51 : 328.9328 #> Model cost at call 53 : 313.4901 #> Model cost at call 59 : 313.49 #> Model cost at call 60 : 313.4899 #> Model cost at call 61 : 308.6268 #> Model cost at call 63 : 308.6267 #> Model cost at call 69 : 302.4454 #> Model cost at call 73 : 302.4453 #> Model cost at call 77 : 298.0751 #> Model cost at call 79 : 298.075 #> Model cost at call 85 : 293.1404 #> Model cost at call 86 : 289.6645 #> Model cost at call 88 : 289.6645 #> Model cost at call 95 : 288.1617 #> Model cost at call 101 : 288.1616 #> Model cost at call 102 : 288.1615 #> Model cost at call 103 : 286.7649 #> Model cost at call 109 : 286.7649 #> Model cost at call 111 : 284.5224 #> Model cost at call 117 : 284.5224 #> Model cost at call 118 : 284.5224 #> Model cost at call 119 : 281.3466 #> Model cost at call 125 : 281.3466 #> Model cost at call 127 : 274.0924 #> Model cost at call 128 : 264.929 #> Model cost at call 133 : 264.929 #> Model cost at call 136 : 251.3329 #> Model cost at call 137 : 251.3329 #> Model cost at call 140 : 251.3329 #> Model cost at call 141 : 251.3329 #> Model cost at call 146 : 247.7019 #> Model cost at call 147 : 247.7019 #> Model cost at call 149 : 247.7018 #> Model cost at call 154 : 247.3465 #> Model cost at call 158 : 247.3465 #> Model cost at call 160 : 247.3464 #> Model cost at call 162 : 244.622 #> Model cost at call 166 : 244.622 #> Model cost at call 170 : 242.5961 #> Model cost at call 171 : 241.6973 #> Model cost at call 173 : 241.6973 #> Model cost at call 174 : 241.6973 #> Model cost at call 175 : 241.6973 #> Model cost at call 179 : 238.8924 #> Model cost at call 181 : 238.8923 #> Model cost at call 187 : 236.0921 #> Model cost at call 190 : 236.0921 #> Model cost at call 192 : 236.092 #> Model cost at call 195 : 233.9082 #> Model cost at call 197 : 233.9082 #> Model cost at call 201 : 233.9082 #> Model cost at call 202 : 233.9082 #> Model cost at call 203 : 228.1486 #> Model cost at call 205 : 228.1486 #> Model cost at call 206 : 228.1485 #> Model cost at call 207 : 228.1485 #> Model cost at call 211 : 225.0879 #> Model cost at call 214 : 225.0879 #> Model cost at call 216 : 225.0879 #> Model cost at call 218 : 225.0879 #> Model cost at call 219 : 220.9928 #> Model cost at call 221 : 220.9928 #> Model cost at call 227 : 219.1889 #> Model cost at call 229 : 219.1888 #> Model cost at call 233 : 219.1888 #> Model cost at call 235 : 218.6966 #> Model cost at call 238 : 218.6966 #> Model cost at call 239 : 218.6966 #> Model cost at call 240 : 218.6966 #> Model cost at call 241 : 218.6966 #> Model cost at call 242 : 218.6966 #> Model cost at call 243 : 214.4307 #> Model cost at call 247 : 214.4307 #> Model cost at call 251 : 213.6076 #> Model cost at call 253 : 213.6076 #> Model cost at call 254 : 213.6076 #> Model cost at call 256 : 213.6076 #> Model cost at call 259 : 211.0287 #> Model cost at call 262 : 211.0287 #> Model cost at call 263 : 211.0287 #> Model cost at call 267 : 209.6141 #> Model cost at call 270 : 209.6141 #> Model cost at call 271 : 209.6141 #> Model cost at call 276 : 207.896 #> Model cost at call 278 : 207.896 #> Model cost at call 284 : 206.4468 #> Model cost at call 286 : 206.4468 #> Model cost at call 289 : 206.4468 #> Model cost at call 292 : 205.8789 #> Model cost at call 296 : 205.8789 #> Model cost at call 298 : 205.8789 #> Model cost at call 299 : 205.8789 #> Model cost at call 300 : 204.2634 #> Model cost at call 301 : 204.2634 #> Model cost at call 303 : 204.2634 #> Model cost at call 305 : 204.2634 #> Model cost at call 308 : 203.5453 #> Model cost at call 309 : 203.338 #> Model cost at call 310 : 203.338 #> Model cost at call 313 : 203.338 #> Model cost at call 314 : 203.338 #> Model cost at call 316 : 203.338 #> Model cost at call 318 : 202.797 #> Model cost at call 321 : 202.797 #> Model cost at call 326 : 202.4377 #> Model cost at call 327 : 202.4377 #> Model cost at call 334 : 202.0027 #> Model cost at call 335 : 202.0027 #> Model cost at call 342 : 201.8249 #> Model cost at call 344 : 201.8249 #> Model cost at call 349 : 201.8249 #> Model cost at call 351 : 201.7123 #> Model cost at call 352 : 201.7123 #> Model cost at call 359 : 201.6476 #> Model cost at call 361 : 201.6476 #> Model cost at call 365 : 201.6476 #> Model cost at call 368 : 201.5827 #> Model cost at call 371 : 201.5827 #> Model cost at call 378 : 201.5531 #> Model cost at call 379 : 201.5531 #> Model cost at call 386 : 201.5531 #> Model cost at call 390 : 201.537 #> Model cost at call 391 : 201.537 #> Model cost at call 401 : 201.5281 #> Model cost at call 402 : 201.5281 #> Model cost at call 404 : 201.5281 #> Model cost at call 407 : 201.5281 #> Model cost at call 413 : 201.5231 #> Model cost at call 417 : 201.5231 #> Model cost at call 418 : 201.5231 #> Model cost at call 420 : 201.5231 #> Model cost at call 426 : 201.5199 #> Model cost at call 428 : 201.5199 #> Model cost at call 439 : 201.5184 #> Model cost at call 443 : 201.5184 #> Model cost at call 444 : 201.5184 #> Model cost at call 446 : 201.5184 #> Model cost at call 454 : 201.5177 #> Model cost at call 457 : 201.5177 #> Model cost at call 469 : 201.5174 #> Model cost at call 473 : 201.5174 #> Model cost at call 476 : 201.5174 #> Model cost at call 480 : 201.5174 #> Model cost at call 483 : 201.5174 #> Model cost at call 484 : 201.5171 #> Model cost at call 487 : 201.5171 #> Model cost at call 499 : 201.517 #> Model cost at call 506 : 201.517 #> Model cost at call 510 : 201.517 #> Model cost at call 514 : 201.517 #> Model cost at call 522 : 201.517 #> Model cost at call 526 : 201.517 #> Model cost at call 527 : 201.517 #> Model cost at call 529 : 201.5169 #> Model cost at call 536 : 201.5169 #> Model cost at call 540 : 201.5169 #> Model cost at call 544 : 201.5169 #> Model cost at call 556 : 201.5169 #> Model cost at call 557 : 201.5169 #> Model cost at call 559 : 201.5169 #> Model cost at call 574 : 201.5169 #> Model cost at call 575 : 201.5169 #> Model cost at call 578 : 201.5169 #> Model cost at call 582 : 201.5169 #> Model cost at call 586 : 201.5169 #> Model cost at call 589 : 201.5169 #> Model cost at call 590 : 201.5169 #> Model cost at call 601 : 201.5169 #> Model cost at call 604 : 201.5169 #> Model cost at call 617 : 201.5169 #> Model cost at call 632 : 201.5169 #> Model cost at call 647 : 201.5169 #> Model cost at call 662 : 201.5169 #> Model cost at call 680 : 201.5169 #> Optimisation by method Port successfully terminated. #> Model cost at call 1 : 30689.89 #> Model cost at call 3 : 30689.89 #> Model cost at call 8 : 16294.04 #> Model cost at call 9 : 12699.33 #> Model cost at call 11 : 12699.26 #> Model cost at call 14 : 12699.05 #> Model cost at call 17 : 9202.163 #> Model cost at call 18 : 9202.16 #> Model cost at call 20 : 9202.147 #> Model cost at call 22 : 9202.147 #> Model cost at call 25 : 6601.043 #> Model cost at call 26 : 6601.041 #> Model cost at call 30 : 6601.04 #> Model cost at call 32 : 4223.705 #> Model cost at call 34 : 4223.703 #> Model cost at call 39 : 4223.703 #> Model cost at call 40 : 1443.507 #> Model cost at call 45 : 1443.507 #> Model cost at call 49 : 1191.267 #> Model cost at call 51 : 1191.267 #> Model cost at call 56 : 1186.498 #> Model cost at call 57 : 1186.498 #> Model cost at call 58 : 1186.497 #> Model cost at call 59 : 1186.497 #> Model cost at call 61 : 1186.496 #> Model cost at call 62 : 1186.494 #> Model cost at call 63 : 1130.799 #> Model cost at call 64 : 1130.799 #> Model cost at call 71 : 1126.363 #> Model cost at call 73 : 1126.363 #> Model cost at call 78 : 1122.848 #> Model cost at call 80 : 1122.848 #> Model cost at call 82 : 1122.848 #> Model cost at call 85 : 1120.954 #> Model cost at call 87 : 1120.954 #> Model cost at call 88 : 1120.954 #> Model cost at call 89 : 1120.954 #> Model cost at call 92 : 1117.156 #> Model cost at call 95 : 1117.156 #> Model cost at call 96 : 1117.156 #> Model cost at call 99 : 1116.894 #> Model cost at call 101 : 1116.894 #> Model cost at call 104 : 1116.894 #> Model cost at call 106 : 1113.955 #> Model cost at call 108 : 1113.955 #> Model cost at call 112 : 1113.955 #> Model cost at call 113 : 1113.03 #> Model cost at call 115 : 1113.03 #> Model cost at call 120 : 1111.643 #> Model cost at call 122 : 1111.643 #> Model cost at call 127 : 1109.657 #> Model cost at call 129 : 1109.657 #> Model cost at call 131 : 1109.657 #> Model cost at call 134 : 1106.725 #> Model cost at call 136 : 1106.725 #> Model cost at call 137 : 1106.725 #> Model cost at call 142 : 1106.005 #> Model cost at call 144 : 1106.005 #> Model cost at call 145 : 1106.005 #> Model cost at call 147 : 1106.005 #> Model cost at call 149 : 1105.268 #> Model cost at call 151 : 1105.268 #> Model cost at call 153 : 1105.268 #> Model cost at call 156 : 1104.247 #> Model cost at call 158 : 1104.247 #> Model cost at call 159 : 1104.247 #> Model cost at call 161 : 1104.247 #> Model cost at call 163 : 1103.813 #> Model cost at call 165 : 1103.813 #> Model cost at call 167 : 1103.813 #> Model cost at call 170 : 1103.075 #> Model cost at call 172 : 1103.075 #> Model cost at call 173 : 1103.075 #> Model cost at call 177 : 1102.447 #> Model cost at call 179 : 1102.447 #> Model cost at call 180 : 1102.447 #> Model cost at call 183 : 1102.447 #> Model cost at call 184 : 1102.038 #> Model cost at call 185 : 1101.712 #> Model cost at call 186 : 1101.337 #> Model cost at call 188 : 1101.337 #> Model cost at call 193 : 1100.37 #> Model cost at call 195 : 1100.37 #> Model cost at call 197 : 1100.37 #> Model cost at call 200 : 1099.46 #> Model cost at call 202 : 1099.46 #> Model cost at call 207 : 1099.262 #> Model cost at call 209 : 1099.262 #> Model cost at call 211 : 1099.262 #> Model cost at call 212 : 1099.261 #> Model cost at call 214 : 1099.227 #> Model cost at call 216 : 1099.227 #> Model cost at call 217 : 1099.227 #> Model cost at call 218 : 1099.227 #> Model cost at call 221 : 1098.331 #> Model cost at call 223 : 1098.331 #> Model cost at call 224 : 1098.331 #> Model cost at call 230 : 1098.24 #> Model cost at call 235 : 1098.24 #> Model cost at call 236 : 1098.24 #> Model cost at call 238 : 1098.231 #> Model cost at call 240 : 1098.231 #> Model cost at call 245 : 1098.228 #> Model cost at call 247 : 1098.228 #> Model cost at call 252 : 1098.221 #> Model cost at call 254 : 1098.221 #> Model cost at call 255 : 1098.221 #> Model cost at call 258 : 1098.221 #> Model cost at call 261 : 1098.214 #> Model cost at call 263 : 1098.214 #> Model cost at call 268 : 1098.204 #> Model cost at call 269 : 1098.196 #> Model cost at call 270 : 1098.187 #> Model cost at call 272 : 1098.187 #> Model cost at call 273 : 1098.187 #> Model cost at call 279 : 1098.181 #> Model cost at call 281 : 1098.181 #> Model cost at call 282 : 1098.181 #> Model cost at call 284 : 1098.181 #> Model cost at call 285 : 1098.181 #> Model cost at call 287 : 1098.172 #> Model cost at call 291 : 1098.172 #> Model cost at call 293 : 1098.172 #> Model cost at call 294 : 1098.169 #> Model cost at call 295 : 1098.169 #> Model cost at call 296 : 1098.169 #> Model cost at call 301 : 1098.169 #> Model cost at call 305 : 1098.169 #> Model cost at call 306 : 1098.169 #> Model cost at call 309 : 1098.169 #> Model cost at call 314 : 1098.169 #> Model cost at call 318 : 1098.169 #> Model cost at call 319 : 1098.169 #> Model cost at call 321 : 1098.169 #> Model cost at call 324 : 1098.169 #> Model cost at call 325 : 1098.169 #> Model cost at call 331 : 1098.169 #> Model cost at call 333 : 1098.169 #> Model cost at call 336 : 1098.169 #> Model cost at call 342 : 1098.169 #> Model cost at call 344 : 1098.169 #> Model cost at call 348 : 1098.169 #> Model cost at call 352 : 1098.169 #> Model cost at call 357 : 1098.169 #> Model cost at call 370 : 1098.169 #> Model cost at call 385 : 1098.169 #> Model cost at call 386 : 1098.169 #> Optimisation by method Port successfully terminated. #> Model cost at call 1 : 34499.23 #> Model cost at call 3 : 34499.23 #> Model cost at call 5 : 34499.23 #> Model cost at call 7 : 34499.23 #> Model cost at call 9 : 14274.95 #> Model cost at call 10 : 14162.89 #> Model cost at call 14 : 14162.68 #> Model cost at call 18 : 13341.49 #> Model cost at call 19 : 13341.48 #> Model cost at call 20 : 13341.47 #> Model cost at call 22 : 13341.44 #> Model cost at call 27 : 10055.95 #> Model cost at call 28 : 10055.95 #> Model cost at call 30 : 10055.95 #> Model cost at call 35 : 7732.384 #> Model cost at call 36 : 7732.381 #> Model cost at call 39 : 7732.381 #> Model cost at call 44 : 6325.124 #> Model cost at call 45 : 6325.122 #> Model cost at call 47 : 6325.117 #> Model cost at call 52 : 3732.612 #> Model cost at call 54 : 3732.611 #> Model cost at call 61 : 1371.768 #> Model cost at call 64 : 1371.768 #> Model cost at call 67 : 1371.768 #> Model cost at call 70 : 1302.633 #> Model cost at call 74 : 1302.633 #> Model cost at call 75 : 1302.633 #> Model cost at call 78 : 1298.854 #> Model cost at call 82 : 1298.854 #> Model cost at call 84 : 1298.854 #> Model cost at call 86 : 1245.775 #> Model cost at call 91 : 1245.775 #> Model cost at call 94 : 1230.679 #> Model cost at call 96 : 1230.679 #> Model cost at call 100 : 1230.679 #> Model cost at call 103 : 1227.471 #> Model cost at call 105 : 1227.471 #> Model cost at call 109 : 1227.471 #> Model cost at call 111 : 1225.318 #> Model cost at call 113 : 1225.318 #> Model cost at call 117 : 1225.318 #> Model cost at call 118 : 1225.318 #> Model cost at call 119 : 1221.478 #> Model cost at call 121 : 1221.478 #> Model cost at call 127 : 1214.191 #> Model cost at call 128 : 1203.986 #> Model cost at call 129 : 1164.433 #> Model cost at call 135 : 1164.433 #> Model cost at call 140 : 1158.843 #> Model cost at call 145 : 1158.843 #> Model cost at call 148 : 1156.585 #> Model cost at call 154 : 1156.585 #> Model cost at call 156 : 1155.177 #> Model cost at call 159 : 1155.177 #> Model cost at call 161 : 1155.176 #> Model cost at call 164 : 1151.603 #> Model cost at call 166 : 1151.603 #> Model cost at call 167 : 1151.603 #> Model cost at call 169 : 1151.603 #> Model cost at call 173 : 1150.467 #> Model cost at call 175 : 1150.467 #> Model cost at call 176 : 1150.467 #> Model cost at call 181 : 1150.117 #> Model cost at call 184 : 1150.117 #> Model cost at call 185 : 1150.117 #> Model cost at call 187 : 1150.117 #> Model cost at call 188 : 1150.117 #> Model cost at call 189 : 1149.03 #> Model cost at call 193 : 1149.03 #> Model cost at call 195 : 1149.03 #> Model cost at call 197 : 1148.468 #> Model cost at call 199 : 1148.468 #> Model cost at call 205 : 1147.297 #> Model cost at call 207 : 1147.297 #> Model cost at call 211 : 1147.297 #> Model cost at call 213 : 1146.841 #> Model cost at call 216 : 1146.841 #> Model cost at call 217 : 1146.841 #> Model cost at call 219 : 1146.841 #> Model cost at call 221 : 1144.548 #> Model cost at call 223 : 1144.548 #> Model cost at call 229 : 1143.258 #> Model cost at call 231 : 1143.258 #> Model cost at call 237 : 1141.772 #> Model cost at call 239 : 1141.772 #> Model cost at call 240 : 1141.772 #> Model cost at call 241 : 1141.772 #> Model cost at call 243 : 1141.772 #> Model cost at call 245 : 1140.849 #> Model cost at call 251 : 1140.849 #> Model cost at call 252 : 1140.849 #> Model cost at call 253 : 1139.456 #> Model cost at call 259 : 1139.456 #> Model cost at call 261 : 1137.678 #> Model cost at call 263 : 1137.678 #> Model cost at call 269 : 1135.358 #> Model cost at call 270 : 1134.128 #> Model cost at call 272 : 1134.128 #> Model cost at call 280 : 1133.342 #> Model cost at call 283 : 1133.342 #> Model cost at call 286 : 1133.342 #> Model cost at call 288 : 1133.229 #> Model cost at call 292 : 1133.229 #> Model cost at call 294 : 1133.229 #> Model cost at call 295 : 1133.229 #> Model cost at call 296 : 1132.641 #> Model cost at call 300 : 1132.641 #> Model cost at call 304 : 1132.126 #> Model cost at call 310 : 1132.126 #> Model cost at call 312 : 1131.169 #> Model cost at call 318 : 1131.169 #> Model cost at call 320 : 1130.405 #> Model cost at call 324 : 1130.405 #> Model cost at call 328 : 1129.635 #> Model cost at call 330 : 1129.635 #> Model cost at call 332 : 1129.635 #> Model cost at call 334 : 1129.635 #> Model cost at call 336 : 1128.526 #> Model cost at call 338 : 1128.526 #> Model cost at call 343 : 1128.526 #> Model cost at call 344 : 1127.498 #> Model cost at call 346 : 1127.498 #> Model cost at call 350 : 1127.498 #> Model cost at call 352 : 1126.06 #> Model cost at call 353 : 1124.911 #> Model cost at call 356 : 1124.911 #> Model cost at call 362 : 1120.309 #> Model cost at call 366 : 1120.309 #> Model cost at call 368 : 1120.308 #> Model cost at call 369 : 1120.308 #> Model cost at call 370 : 1117.687 #> Model cost at call 374 : 1117.687 #> Model cost at call 375 : 1117.687 #> Model cost at call 378 : 1112.013 #> Model cost at call 379 : 1112.013 #> Model cost at call 381 : 1112.013 #> Model cost at call 386 : 1108.648 #> Model cost at call 387 : 1108.251 #> Model cost at call 388 : 1108.251 #> Model cost at call 391 : 1108.251 #> Model cost at call 392 : 1108.251 #> Model cost at call 395 : 1104.73 #> Model cost at call 396 : 1104.73 #> Model cost at call 397 : 1104.73 #> Model cost at call 403 : 1103.277 #> Model cost at call 404 : 1103.277 #> Model cost at call 411 : 1101.351 #> Model cost at call 414 : 1101.351 #> Model cost at call 416 : 1101.351 #> Model cost at call 417 : 1101.351 #> Model cost at call 419 : 1100.36 #> Model cost at call 420 : 1100.36 #> Model cost at call 421 : 1100.36 #> Model cost at call 427 : 1099.596 #> Model cost at call 431 : 1099.596 #> Model cost at call 432 : 1099.596 #> Model cost at call 435 : 1099.029 #> Model cost at call 437 : 1099.029 #> Model cost at call 444 : 1098.722 #> Model cost at call 447 : 1098.722 #> Model cost at call 448 : 1098.722 #> Model cost at call 453 : 1098.441 #> Model cost at call 455 : 1098.441 #> Model cost at call 458 : 1098.441 #> Model cost at call 463 : 1098.314 #> Model cost at call 464 : 1098.314 #> Model cost at call 469 : 1098.314 #> Model cost at call 471 : 1098.314 #> Model cost at call 475 : 1098.245 #> Model cost at call 477 : 1098.245 #> Model cost at call 480 : 1098.245 #> Model cost at call 486 : 1098.209 #> Model cost at call 487 : 1098.209 #> Model cost at call 489 : 1098.209 #> Model cost at call 493 : 1098.209 #> Model cost at call 505 : 1098.209 #> Model cost at call 506 : 1098.209 #> Model cost at call 510 : 1098.209 #> Model cost at call 518 : 1098.209 #> Model cost at call 519 : 1098.209 #> Model cost at call 522 : 1098.209 #> Model cost at call 526 : 1098.209 #> Model cost at call 528 : 1098.209 #> Model cost at call 530 : 1098.209 #> Model cost at call 533 : 1098.209 #> Model cost at call 534 : 1098.209 #> Model cost at call 536 : 1098.209 #> Model cost at call 542 : 1098.209 #> Model cost at call 549 : 1098.207 #> Model cost at call 551 : 1098.207 #> Model cost at call 552 : 1098.207 #> Model cost at call 555 : 1098.207 #> Model cost at call 564 : 1098.205 #> Model cost at call 566 : 1098.205 #> Model cost at call 567 : 1098.205 #> Model cost at call 570 : 1098.205 #> Model cost at call 579 : 1098.2 #> Model cost at call 580 : 1098.191 #> Model cost at call 581 : 1098.191 #> Model cost at call 583 : 1098.191 #> Model cost at call 586 : 1098.191 #> Model cost at call 587 : 1098.191 #> Model cost at call 589 : 1098.191 #> Model cost at call 595 : 1098.186 #> Model cost at call 596 : 1098.186 #> Model cost at call 606 : 1098.18 #> Model cost at call 609 : 1098.18 #> Model cost at call 610 : 1098.18 #> Model cost at call 616 : 1098.177 #> Model cost at call 619 : 1098.177 #> Model cost at call 620 : 1098.177 #> Model cost at call 627 : 1098.173 #> Model cost at call 630 : 1098.173 #> Model cost at call 631 : 1098.173 #> Model cost at call 636 : 1098.173 #> Model cost at call 641 : 1098.172 #> Model cost at call 642 : 1098.172 #> Model cost at call 653 : 1098.172 #> Model cost at call 654 : 1098.172 #> Model cost at call 664 : 1098.172 #> Model cost at call 669 : 1098.172 #> Model cost at call 671 : 1098.172 #> Model cost at call 675 : 1098.172 #> Model cost at call 678 : 1098.172 #> Model cost at call 680 : 1098.172 #> Model cost at call 683 : 1098.172 #> Model cost at call 684 : 1098.172 #> Model cost at call 686 : 1098.172 #> Model cost at call 690 : 1098.172 #> Model cost at call 702 : 1098.172 #> Model cost at call 704 : 1098.172 #> Model cost at call 708 : 1098.172 #> Model cost at call 721 : 1098.172 #> Model cost at call 723 : 1098.172 #> Model cost at call 736 : 1098.172 #> Model cost at call 738 : 1098.172 #> Model cost at call 751 : 1098.172 #> Model cost at call 753 : 1098.172 #> Model cost at call 766 : 1098.172 #> Model cost at call 767 : 1098.172 #> Model cost at call 768 : 1098.172 #> Model cost at call 770 : 1098.172 #> Model cost at call 783 : 1098.172 #> Model cost at call 784 : 1098.172 #> Model cost at call 785 : 1098.172 #> Model cost at call 799 : 1098.172 #> Model cost at call 800 : 1098.172 #> Model cost at call 814 : 1098.172 #> Model cost at call 815 : 1098.172 #> Model cost at call 816 : 1098.172 #> Model cost at call 822 : 1098.172 #> Model cost at call 830 : 1098.172 #> Model cost at call 831 : 1098.172 #> Model cost at call 834 : 1098.172 #> Model cost at call 845 : 1098.172 #> Model cost at call 846 : 1098.172 #> Model cost at call 849 : 1098.172 #> Model cost at call 860 : 1098.171 #> Model cost at call 861 : 1098.171 #> Model cost at call 864 : 1098.171 #> Model cost at call 875 : 1098.171 #> Model cost at call 876 : 1098.171 #> Model cost at call 879 : 1098.171 #> Model cost at call 890 : 1098.17 #> Model cost at call 891 : 1098.17 #> Model cost at call 894 : 1098.17 #> Model cost at call 904 : 1098.169 #> Model cost at call 905 : 1098.169 #> Model cost at call 908 : 1098.169 #> Model cost at call 909 : 1098.169 #> Model cost at call 919 : 1098.169 #> Model cost at call 921 : 1098.169 #> Model cost at call 931 : 1098.169 #> Model cost at call 932 : 1098.169 #> Model cost at call 934 : 1098.169 #> Model cost at call 936 : 1098.169 #> Model cost at call 937 : 1098.169 #> Model cost at call 944 : 1098.169 #> Model cost at call 947 : 1098.169 #> Model cost at call 949 : 1098.169 #> Model cost at call 951 : 1098.169 #> Model cost at call 952 : 1098.169 #> Model cost at call 954 : 1098.169 #> Model cost at call 964 : 1098.169 #> Model cost at call 967 : 1098.169 #> Model cost at call 969 : 1098.169 #> Model cost at call 982 : 1098.169 #> Model cost at call 1017 : 1098.169 #> Model cost at call 1018 : 1098.169 #> Model cost at call 1022 : 1098.169 #> Model cost at call 1029 : 1098.169 #> Model cost at call 1033 : 1098.169 #> Model cost at call 1038 : 1098.169 #> Model cost at call 1048 : 1098.169 #> Model cost at call 1049 : 1098.169 #> Model cost at call 1055 : 1098.169 #> Model cost at call 1063 : 1098.169 #> Model cost at call 1074 : 1098.169 #> Model cost at call 1079 : 1098.169 #> Model cost at call 1089 : 1098.169 #> Model cost at call 1120 : 1098.169 #> Model cost at call 1124 : 1098.169 #> Model cost at call 1139 : 1098.169 #> Model cost at call 1154 : 1098.169 #> Model cost at call 1170 : 1098.169 #> Model cost at call 1185 : 1098.169 #> Model cost at call 1200 : 1098.169 #> Model cost at call 1215 : 1098.169 #> Model cost at call 1231 : 1098.169 #> Model cost at call 1246 : 1098.169 #> Model cost at call 1247 : 1098.169 #> Model cost at call 1248 : 1098.169 #> Model cost at call 1258 : 1098.169 #> Model cost at call 1263 : 1098.169 #> Model cost at call 1278 : 1098.169 #> Model cost at call 1295 : 1098.169 #> Model cost at call 1296 : 1098.169 #> Model cost at call 1297 : 1098.169 #> Model cost at call 1298 : 1098.169 #> Model cost at call 1306 : 1098.169 #> Model cost at call 1308 : 1098.169 #> Optimisation by method Port successfully terminated. #> Model cost at call 1 : 31389.19 #> Model cost at call 3 : 31389.19 #> Model cost at call 8 : 15003.41 #> Model cost at call 9 : 11136.21 #> Model cost at call 11 : 11135.87 #> Model cost at call 16 : 4800.182 #> Model cost at call 17 : 4800.181 #> Model cost at call 19 : 4800.163 #> Model cost at call 24 : 3036.068 #> Model cost at call 25 : 3036.068 #> Model cost at call 26 : 3036.052 #> Model cost at call 31 : 1361.371 #> Model cost at call 33 : 1361.371 #> Model cost at call 40 : 494.6738 #> Model cost at call 41 : 494.6736 #> Model cost at call 45 : 494.6734 #> Model cost at call 48 : 260.2631 #> Model cost at call 49 : 260.2629 #> Model cost at call 55 : 248.3035 #> Model cost at call 56 : 248.3034 #> Model cost at call 57 : 248.3023 #> Model cost at call 62 : 171.6337 #> Model cost at call 63 : 171.6337 #> Model cost at call 70 : 167.3473 #> Model cost at call 72 : 167.3473 #> Model cost at call 73 : 167.3473 #> Model cost at call 78 : 165.9868 #> Model cost at call 80 : 165.9868 #> Model cost at call 83 : 165.9868 #> Model cost at call 85 : 165.2025 #> Model cost at call 87 : 165.2024 #> Model cost at call 92 : 163.5932 #> Model cost at call 94 : 163.5932 #> Model cost at call 96 : 163.5932 #> Model cost at call 99 : 159.4289 #> Model cost at call 100 : 147.5939 #> Model cost at call 105 : 147.5939 #> Model cost at call 108 : 139.3925 #> Model cost at call 113 : 139.3925 #> Model cost at call 115 : 139.392 #> Model cost at call 116 : 123.9799 #> Model cost at call 117 : 123.9798 #> Model cost at call 118 : 123.9795 #> Model cost at call 124 : 103.8653 #> Model cost at call 125 : 103.8653 #> Model cost at call 126 : 103.8652 #> Model cost at call 131 : 96.14276 #> Model cost at call 134 : 96.14275 #> Model cost at call 135 : 96.14274 #> Model cost at call 139 : 95.96056 #> Model cost at call 141 : 95.96056 #> Model cost at call 142 : 95.96056 #> Model cost at call 145 : 95.96056 #> Model cost at call 146 : 95.90851 #> Model cost at call 148 : 95.9085 #> Model cost at call 153 : 95.84671 #> Model cost at call 155 : 95.8467 #> Model cost at call 161 : 95.82479 #> Model cost at call 163 : 95.82479 #> Model cost at call 166 : 95.82479 #> Model cost at call 168 : 95.81938 #> Model cost at call 170 : 95.81938 #> Model cost at call 174 : 95.81938 #> Model cost at call 175 : 95.81558 #> Model cost at call 177 : 95.81558 #> Model cost at call 178 : 95.81558 #> Model cost at call 180 : 95.81558 #> Model cost at call 181 : 95.81558 #> Model cost at call 183 : 95.81558 #> Model cost at call 184 : 95.8118 #> Model cost at call 186 : 95.8118 #> Model cost at call 188 : 95.8118 #> Model cost at call 191 : 95.80885 #> Model cost at call 192 : 95.80353 #> Model cost at call 193 : 95.78121 #> Model cost at call 194 : 95.72164 #> Model cost at call 197 : 95.72164 #> Model cost at call 201 : 95.72163 #> Model cost at call 206 : 95.71206 #> Model cost at call 208 : 95.71205 #> Model cost at call 213 : 95.70874 #> Model cost at call 215 : 95.70874 #> Model cost at call 219 : 95.70874 #> Model cost at call 221 : 95.70751 #> Model cost at call 222 : 95.70404 #> Model cost at call 223 : 95.69259 #> Model cost at call 224 : 95.68092 #> Model cost at call 226 : 95.68092 #> Model cost at call 227 : 95.68092 #> Model cost at call 233 : 95.67595 #> Model cost at call 235 : 95.67595 #> Model cost at call 236 : 95.67595 #> Model cost at call 242 : 95.67219 #> Model cost at call 244 : 95.67219 #> Model cost at call 245 : 95.67219 #> Model cost at call 249 : 95.66939 #> Model cost at call 251 : 95.66939 #> Model cost at call 253 : 95.66939 #> Model cost at call 254 : 95.66939 #> Model cost at call 256 : 95.66904 #> Model cost at call 257 : 95.66904 #> Model cost at call 260 : 95.66904 #> Model cost at call 265 : 95.66857 #> Model cost at call 267 : 95.66856 #> Model cost at call 273 : 95.66822 #> Model cost at call 275 : 95.66822 #> Model cost at call 276 : 95.66822 #> Model cost at call 282 : 95.66809 #> Model cost at call 283 : 95.66809 #> Model cost at call 291 : 95.66805 #> Model cost at call 293 : 95.66805 #> Model cost at call 295 : 95.66805 #> Model cost at call 297 : 95.66805 #> Model cost at call 298 : 95.66805 #> Model cost at call 302 : 95.66805 #> Model cost at call 304 : 95.66805 #> Model cost at call 306 : 95.66805 #> Model cost at call 309 : 95.66805 #> Model cost at call 314 : 95.66805 #> Model cost at call 315 : 95.66805 #> Model cost at call 328 : 95.66805 #> Optimisation by method Port successfully terminated. #> Model cost at call 1 : 36597.78 #> Model cost at call 3 : 36597.78 #> Model cost at call 5 : 36597.78 #> Model cost at call 7 : 36597.78 #> Model cost at call 9 : 13188.26 #> Model cost at call 10 : 12648.25 #> Model cost at call 14 : 12648.13 #> Model cost at call 16 : 12647.92 #> Model cost at call 18 : 6148.715 #> Model cost at call 19 : 6148.712 #> Model cost at call 20 : 6148.695 #> Model cost at call 22 : 6148.683 #> Model cost at call 27 : 1490.597 #> Model cost at call 33 : 1490.597 #> Model cost at call 35 : 594.2031 #> Model cost at call 36 : 594.2023 #> Model cost at call 38 : 594.201 #> Model cost at call 40 : 594.2009 #> Model cost at call 44 : 230.6504 #> Model cost at call 45 : 230.6503 #> Model cost at call 48 : 230.6503 #> Model cost at call 50 : 230.6495 #> Model cost at call 51 : 230.6494 #> Model cost at call 53 : 186.2336 #> Model cost at call 57 : 186.2336 #> Model cost at call 59 : 186.2336 #> Model cost at call 60 : 186.2336 #> Model cost at call 62 : 181.3507 #> Model cost at call 66 : 181.3507 #> Model cost at call 70 : 180.733 #> Model cost at call 74 : 180.733 #> Model cost at call 76 : 180.7329 #> Model cost at call 77 : 180.7329 #> Model cost at call 78 : 175.5254 #> Model cost at call 80 : 175.5253 #> Model cost at call 86 : 173.1139 #> Model cost at call 88 : 173.1139 #> Model cost at call 94 : 168.0503 #> Model cost at call 96 : 168.0502 #> Model cost at call 102 : 164.9084 #> Model cost at call 104 : 164.9084 #> Model cost at call 105 : 164.9084 #> Model cost at call 110 : 159.7912 #> Model cost at call 112 : 159.7912 #> Model cost at call 113 : 159.7912 #> Model cost at call 116 : 159.7911 #> Model cost at call 117 : 159.7911 #> Model cost at call 118 : 158.6003 #> Model cost at call 122 : 158.6002 #> Model cost at call 124 : 158.6002 #> Model cost at call 126 : 150.4132 #> Model cost at call 132 : 150.4132 #> Model cost at call 133 : 150.4132 #> Model cost at call 134 : 146.5123 #> Model cost at call 140 : 146.5122 #> Model cost at call 142 : 136.6018 #> Model cost at call 145 : 136.6018 #> Model cost at call 149 : 136.6018 #> Model cost at call 150 : 133.91 #> Model cost at call 153 : 133.91 #> Model cost at call 155 : 133.91 #> Model cost at call 156 : 133.91 #> Model cost at call 158 : 124.7878 #> Model cost at call 162 : 124.7878 #> Model cost at call 163 : 124.7878 #> Model cost at call 167 : 124.2615 #> Model cost at call 169 : 124.2614 #> Model cost at call 170 : 124.2614 #> Model cost at call 175 : 123.2425 #> Model cost at call 179 : 123.2425 #> Model cost at call 180 : 123.2425 #> Model cost at call 181 : 123.2425 #> Model cost at call 182 : 123.2425 #> Model cost at call 183 : 120.7214 #> Model cost at call 185 : 120.7214 #> Model cost at call 191 : 119.2706 #> Model cost at call 192 : 117.872 #> Model cost at call 193 : 114.6257 #> Model cost at call 198 : 114.6257 #> Model cost at call 201 : 111.8985 #> Model cost at call 203 : 111.8985 #> Model cost at call 206 : 111.8984 #> Model cost at call 209 : 111.6987 #> Model cost at call 212 : 111.6987 #> Model cost at call 213 : 111.6986 #> Model cost at call 217 : 107.9995 #> Model cost at call 219 : 107.9995 #> Model cost at call 225 : 106.1322 #> Model cost at call 226 : 104.6907 #> Model cost at call 227 : 104.6316 #> Model cost at call 229 : 104.6316 #> Model cost at call 232 : 104.6315 #> Model cost at call 239 : 103.3421 #> Model cost at call 245 : 103.3421 #> Model cost at call 246 : 103.3421 #> Model cost at call 247 : 103.1772 #> Model cost at call 248 : 103.1772 #> Model cost at call 249 : 103.1772 #> Model cost at call 250 : 103.1772 #> Model cost at call 253 : 103.1772 #> Model cost at call 255 : 102.8623 #> Model cost at call 256 : 102.8623 #> Model cost at call 262 : 102.8623 #> Model cost at call 263 : 102.6013 #> Model cost at call 266 : 102.6013 #> Model cost at call 271 : 102.0341 #> Model cost at call 272 : 101.25 #> Model cost at call 273 : 99.17557 #> Model cost at call 274 : 99.17556 #> Model cost at call 282 : 99.06481 #> Model cost at call 284 : 99.06479 #> Model cost at call 290 : 98.57515 #> Model cost at call 294 : 98.57514 #> Model cost at call 296 : 98.57514 #> Model cost at call 298 : 98.05781 #> Model cost at call 304 : 98.05781 #> Model cost at call 305 : 98.05781 #> Model cost at call 306 : 97.81766 #> Model cost at call 307 : 97.63972 #> Model cost at call 308 : 97.63971 #> Model cost at call 315 : 97.15447 #> Model cost at call 317 : 97.15447 #> Model cost at call 321 : 97.15446 #> Model cost at call 323 : 96.25231 #> Model cost at call 324 : 96.25231 #> Model cost at call 328 : 96.25231 #> Model cost at call 331 : 95.48051 #> Model cost at call 334 : 95.4805 #> Model cost at call 339 : 95.08754 #> Model cost at call 341 : 95.08754 #> Model cost at call 347 : 94.9916 #> Model cost at call 348 : 94.9916 #> Model cost at call 350 : 94.9916 #> Model cost at call 355 : 94.93856 #> Model cost at call 356 : 94.93856 #> Model cost at call 357 : 94.93856 #> Model cost at call 363 : 94.92067 #> Model cost at call 366 : 94.92067 #> Model cost at call 367 : 94.92067 #> Model cost at call 369 : 94.92067 #> Model cost at call 370 : 94.92067 #> Model cost at call 371 : 94.91762 #> Model cost at call 372 : 94.91762 #> Model cost at call 373 : 94.91762 #> Model cost at call 379 : 94.91744 #> Model cost at call 380 : 94.91744 #> Model cost at call 385 : 94.91744 #> Model cost at call 387 : 94.91744 #> Model cost at call 393 : 94.91743 #> Model cost at call 394 : 94.91743 #> Model cost at call 404 : 94.91743 #> Model cost at call 407 : 94.91743 #> Model cost at call 408 : 94.91743 #> Model cost at call 423 : 94.91743 #> Model cost at call 442 : 94.91743 #> Model cost at call 446 : 94.91743 #> Model cost at call 447 : 94.91743 #> Optimisation by method Port successfully terminated.time_default#> user system elapsed #> 16.180 0.132 9.130time_1#> user system elapsed #> 22.856 0.000 22.858#> Error in endpoints(fits[["SFO_lin", 2]]): Objekt 'fits' nicht gefunden# Plot.mkinfit handles rows or columns of mmkin result objects plot(fits.0[1, ])plot(fits.0[1, ], obs_var = c("M1", "M2"))plot(fits.0[, 1])# Use double brackets to extract a single mkinfit object, which will be plotted # by plot.mkinfit plot(fits.0[[1, 1]], sep_obs = TRUE, show_residuals = TRUE, show_errmin = TRUE)# Plotting with mmkin (single brackets, extracting an mmkin object) does not # allow to plot the observed variables separately plot(fits.0[1, 1])