aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-10-26 01:17:30 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2022-10-26 01:32:33 +0200
commit6b910647d22e54a8c0b9c7f837af8dce150d5ee2 (patch)
tree75cbe86abe87ae6f333b91d1d40c188fe8fdb2e2 /tests/testthat
parentab47bcc8075b4361aa9db2a2ebfd7e82f92326b0 (diff)
Try to make multistart (more) reproducible
Diffstat (limited to 'tests/testthat')
-rw-r--r--tests/testthat/_snaps/multistart/llhist-for-biphasic-saemix-fit.svg42
-rw-r--r--tests/testthat/_snaps/multistart/parhist-for-biphasic-saemix-fit.svg239
-rw-r--r--tests/testthat/test_multistart.R1
3 files changed, 139 insertions, 143 deletions
diff --git a/tests/testthat/_snaps/multistart/llhist-for-biphasic-saemix-fit.svg b/tests/testthat/_snaps/multistart/llhist-for-biphasic-saemix-fit.svg
index 154eb60d..4767e229 100644
--- a/tests/testthat/_snaps/multistart/llhist-for-biphasic-saemix-fit.svg
+++ b/tests/testthat/_snaps/multistart/llhist-for-biphasic-saemix-fit.svg
@@ -19,26 +19,24 @@
</defs>
<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'>
<text transform='translate(12.96,280.80) rotate(-90)' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='148.77px' lengthAdjust='spacingAndGlyphs'>Frequency of log likelihoods</text>
-<line x1='101.56' y1='502.56' x2='601.12' y2='502.56' style='stroke-width: 0.75;' />
-<line x1='101.56' y1='502.56' x2='101.56' y2='509.76' style='stroke-width: 0.75;' />
-<line x1='201.47' y1='502.56' x2='201.47' y2='509.76' style='stroke-width: 0.75;' />
-<line x1='301.38' y1='502.56' x2='301.38' y2='509.76' style='stroke-width: 0.75;' />
-<line x1='401.29' y1='502.56' x2='401.29' y2='509.76' style='stroke-width: 0.75;' />
-<line x1='501.21' y1='502.56' x2='501.21' y2='509.76' style='stroke-width: 0.75;' />
-<line x1='601.12' y1='502.56' x2='601.12' y2='509.76' style='stroke-width: 0.75;' />
-<text x='101.56' y='528.48' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='30.69px' lengthAdjust='spacingAndGlyphs'>-1190</text>
-<text x='201.47' y='528.48' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='30.69px' lengthAdjust='spacingAndGlyphs'>-1185</text>
-<text x='301.38' y='528.48' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='30.69px' lengthAdjust='spacingAndGlyphs'>-1180</text>
-<text x='401.29' y='528.48' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='30.69px' lengthAdjust='spacingAndGlyphs'>-1175</text>
-<text x='501.21' y='528.48' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='30.69px' lengthAdjust='spacingAndGlyphs'>-1170</text>
-<text x='601.12' y='528.48' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='30.69px' lengthAdjust='spacingAndGlyphs'>-1165</text>
+<line x1='147.59' y1='502.56' x2='598.15' y2='502.56' style='stroke-width: 0.75;' />
+<line x1='147.59' y1='502.56' x2='147.59' y2='509.76' style='stroke-width: 0.75;' />
+<line x1='297.78' y1='502.56' x2='297.78' y2='509.76' style='stroke-width: 0.75;' />
+<line x1='447.97' y1='502.56' x2='447.97' y2='509.76' style='stroke-width: 0.75;' />
+<line x1='598.15' y1='502.56' x2='598.15' y2='509.76' style='stroke-width: 0.75;' />
+<text x='147.59' y='528.48' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='30.69px' lengthAdjust='spacingAndGlyphs'>-1190</text>
+<text x='297.78' y='528.48' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='30.69px' lengthAdjust='spacingAndGlyphs'>-1180</text>
+<text x='447.97' y='528.48' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='30.69px' lengthAdjust='spacingAndGlyphs'>-1170</text>
+<text x='598.15' y='528.48' text-anchor='middle' style='font-size: 12.00px; font-family: sans;' textLength='30.69px' lengthAdjust='spacingAndGlyphs'>-1160</text>
<line x1='59.04' y1='486.13' x2='59.04' y2='75.47' style='stroke-width: 0.75;' />
<line x1='59.04' y1='486.13' x2='51.84' y2='486.13' style='stroke-width: 0.75;' />
-<line x1='59.04' y1='280.80' x2='51.84' y2='280.80' style='stroke-width: 0.75;' />
+<line x1='59.04' y1='349.24' x2='51.84' y2='349.24' style='stroke-width: 0.75;' />
+<line x1='59.04' y1='212.36' x2='51.84' y2='212.36' style='stroke-width: 0.75;' />
<line x1='59.04' y1='75.47' x2='51.84' y2='75.47' style='stroke-width: 0.75;' />
<text x='44.64' y='490.26' text-anchor='end' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>0</text>
-<text x='44.64' y='284.93' text-anchor='end' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>1</text>
-<text x='44.64' y='79.60' text-anchor='end' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>2</text>
+<text x='44.64' y='353.37' text-anchor='end' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>1</text>
+<text x='44.64' y='216.48' text-anchor='end' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>2</text>
+<text x='44.64' y='79.60' text-anchor='end' style='font-size: 12.00px; font-family: sans;' textLength='6.67px' lengthAdjust='spacingAndGlyphs'>3</text>
</g>
<defs>
<clipPath id='cpNTkuMDR8Njg5Ljc2fDU5LjA0fDUwMi41Ng=='>
@@ -46,13 +44,11 @@
</clipPath>
</defs>
<g clip-path='url(#cpNTkuMDR8Njg5Ljc2fDU5LjA0fDUwMi41Ng==)'>
-<rect x='261.42' y='75.47' width='39.96' height='410.67' style='stroke-width: 0.75; fill: #D3D3D3;' />
-<rect x='301.38' y='280.80' width='39.96' height='205.33' style='stroke-width: 0.75; fill: #D3D3D3;' />
-<rect x='341.35' y='75.47' width='39.96' height='410.67' style='stroke-width: 0.75; fill: #D3D3D3;' />
-<rect x='381.31' y='280.80' width='39.96' height='205.33' style='stroke-width: 0.75; fill: #D3D3D3;' />
-<rect x='421.28' y='280.80' width='39.96' height='205.33' style='stroke-width: 0.75; fill: #D3D3D3;' />
-<rect x='461.24' y='280.80' width='39.96' height='205.33' style='stroke-width: 0.75; fill: #D3D3D3;' />
-<polyline points='82.40,486.13 83.86,486.11 85.32,486.11 86.78,486.10 88.24,486.10 89.70,486.10 91.16,486.09 92.62,486.09 94.08,486.08 95.54,486.07 97.00,486.07 98.46,486.06 99.92,486.03 101.38,486.02 102.84,486.00 104.30,485.99 105.76,485.96 107.22,485.93 108.68,485.91 110.14,485.88 111.60,485.85 113.06,485.83 114.52,485.79 115.98,485.76 117.44,485.72 118.90,485.67 120.36,485.63 121.82,485.57 123.28,485.52 124.74,485.46 126.20,485.39 127.66,485.32 129.12,485.24 130.58,485.15 132.04,485.06 133.50,484.95 134.96,484.84 136.42,484.72 137.88,484.59 139.34,484.45 140.80,484.30 142.26,484.14 143.72,483.96 145.18,483.77 146.64,483.56 148.10,483.32 149.56,483.08 151.02,482.82 152.48,482.53 153.94,482.22 155.40,481.89 156.86,481.55 158.32,481.18 159.78,480.78 161.24,480.36 162.70,479.91 164.16,479.43 165.62,478.92 167.08,478.37 168.54,477.79 170.00,477.17 171.46,476.52 172.92,475.83 174.38,475.09 175.84,474.31 177.30,473.48 178.76,472.61 180.22,471.69 181.68,470.72 183.14,469.69 184.60,468.62 186.06,467.48 187.52,466.29 188.98,465.03 190.44,463.71 191.90,462.33 193.36,460.89 194.82,459.37 196.28,457.79 197.74,456.11 199.20,454.38 200.66,452.58 202.12,450.70 203.58,448.75 205.04,446.71 206.50,444.60 207.96,442.40 209.42,440.12 210.88,437.77 212.34,435.32 213.80,432.80 215.26,430.19 216.72,427.49 218.18,424.71 219.64,421.85 221.10,418.90 222.56,415.86 224.02,412.75 225.48,409.55 226.94,406.27 228.40,402.91 229.86,399.47 231.32,395.95 232.78,392.36 234.24,388.69 235.70,384.95 237.16,381.14 238.62,377.27 240.08,373.33 241.54,369.33 243.00,365.27 244.46,361.14 245.92,356.98 247.38,352.76 248.84,348.51 250.30,344.22 251.76,339.89 253.22,335.53 254.68,331.14 256.14,326.74 257.60,322.31 259.06,317.88 260.52,313.44 261.98,308.98 263.44,304.53 264.90,300.10 266.36,295.68 267.82,291.28 269.28,286.90 270.74,282.56 272.20,278.24 273.66,273.97 275.12,269.75 276.58,265.57 278.04,261.45 279.50,257.39 280.96,253.40 282.42,249.47 283.88,245.62 285.34,241.85 286.80,238.17 288.26,234.57 289.72,231.06 291.18,227.65 292.64,224.34 294.10,221.13 295.56,218.02 297.02,215.03 298.48,212.15 299.94,209.38 301.40,206.73 302.86,204.19 304.32,201.78 305.78,199.49 307.24,197.32 308.70,195.28 310.16,193.37 311.62,191.58 313.08,189.91 314.54,188.37 316.00,186.96 317.46,185.68 318.92,184.52 320.38,183.48 321.84,182.57 323.30,181.78 324.76,181.11 326.22,180.56 327.68,180.13 329.14,179.81 330.60,179.61 332.06,179.51 333.52,179.53 334.98,179.64 336.44,179.86 337.90,180.18 339.36,180.60 340.82,181.11 342.28,181.70 343.74,182.38 345.20,183.15 346.66,183.99 348.12,184.91 349.58,185.90 351.04,186.96 352.50,188.09 353.96,189.27 355.42,190.51 356.88,191.80 358.34,193.14 359.80,194.53 361.26,195.96 362.72,197.43 364.18,198.93 365.64,200.47 367.10,202.03 368.56,203.62 370.02,205.23 371.48,206.86 372.94,208.51 374.40,210.17 375.86,211.84 377.32,213.52 378.78,215.20 380.24,216.89 381.70,218.58 383.16,220.27 384.62,221.96 386.08,223.64 387.54,225.32 389.00,227.00 390.46,228.66 391.92,230.32 393.38,231.97 394.84,233.61 396.30,235.25 397.76,236.87 399.22,238.48 400.68,240.09 402.14,241.68 403.60,243.27 405.06,244.85 406.52,246.42 407.98,247.99 409.44,249.55 410.90,251.11 412.36,252.66 413.82,254.22 415.28,255.78 416.74,257.33 418.20,258.90 419.66,260.46 421.12,262.04 422.58,263.63 424.04,265.22 425.50,266.83 426.96,268.46 428.42,270.10 429.88,271.76 431.34,273.45 432.80,275.15 434.26,276.89 435.72,278.65 437.18,280.43 438.64,282.25 440.10,284.10 441.56,285.98 443.02,287.90 444.48,289.85 445.94,291.85 447.40,293.88 448.86,295.94 450.32,298.05 451.78,300.20 453.24,302.39 454.70,304.62 456.16,306.89 457.62,309.20 459.08,311.56 460.54,313.95 462.00,316.38 463.46,318.86 464.92,321.37 466.38,323.92 467.84,326.50 469.30,329.12 470.76,331.78 472.22,334.46 473.68,337.18 475.14,339.92 476.60,342.69 478.06,345.48 479.52,348.29 480.98,351.13 482.44,353.98 483.90,356.84 485.36,359.72 486.82,362.61 488.28,365.52 489.74,368.41 491.20,371.31 492.66,374.20 494.12,377.09 495.58,379.97 497.04,382.84 498.50,385.70 499.96,388.54 501.42,391.37 502.88,394.17 504.34,396.97 505.80,399.73 507.26,402.45 508.72,405.14 510.18,407.82 511.64,410.45 513.10,413.04 514.56,415.58 516.02,418.09 517.48,420.55 518.94,422.97 520.40,425.35 521.86,427.67 523.32,429.95 524.78,432.18 526.24,434.36 527.70,436.48 529.16,438.56 530.62,440.58 532.08,442.54 533.54,444.46 535.00,446.32 536.46,448.12 537.92,449.87 539.38,451.56 540.84,453.20 542.30,454.79 543.76,456.32 545.22,457.80 546.68,459.23 548.14,460.60 549.60,461.92 551.06,463.19 552.52,464.43 553.98,465.60 555.44,466.73 556.90,467.80 558.36,468.85 559.82,469.83 561.28,470.77 562.74,471.66 564.20,472.51 565.66,473.33 567.12,474.10 568.58,474.84 570.04,475.54 571.50,476.20 572.96,476.83 574.42,477.43 575.88,477.99 577.34,478.53 578.80,479.03 580.26,479.51 581.72,479.96 583.18,480.38 584.64,480.78 586.10,481.15 587.56,481.51 589.02,481.84 590.48,482.15 591.94,482.44 593.40,482.71 594.86,482.96 596.32,483.20 597.78,483.43 599.24,483.63 600.70,483.83 602.16,484.03 603.62,484.19 605.08,484.35 606.54,484.49 608.00,484.62 609.46,484.75 610.92,484.86 612.38,484.97 613.84,485.06 615.30,485.15 616.76,485.24 618.22,485.31 619.68,485.39 621.14,485.45 622.60,485.51 624.06,485.57 625.52,485.62 626.98,485.66 628.44,485.71 629.90,485.75 631.36,485.78 632.82,485.81 634.28,485.84 635.74,485.87 637.20,485.90 638.66,485.92 640.12,485.94 641.58,485.96 643.04,485.98 644.50,485.99 645.96,486.01 647.42,486.02 648.88,486.05 650.34,486.06 651.80,486.07 653.26,486.07 654.72,486.08 656.18,486.09 657.64,486.09 659.10,486.10 660.56,486.10 662.02,486.10 663.48,486.11 664.94,486.11 666.40,486.13 ' style='stroke-width: 0.75;' />
+<rect x='222.68' y='349.24' width='75.09' height='136.89' style='stroke-width: 0.75; fill: #D3D3D3;' />
+<rect x='297.78' y='75.47' width='75.09' height='410.67' style='stroke-width: 0.75; fill: #D3D3D3;' />
+<rect x='372.87' y='212.36' width='75.09' height='273.78' style='stroke-width: 0.75; fill: #D3D3D3;' />
+<rect x='447.97' y='212.36' width='75.09' height='273.78' style='stroke-width: 0.75; fill: #D3D3D3;' />
+<polyline points='82.40,486.11 83.86,486.10 85.32,486.10 86.78,486.10 88.24,486.09 89.70,486.09 91.16,486.08 92.62,486.07 94.08,486.07 95.54,486.06 97.00,486.05 98.46,486.04 99.92,486.03 101.38,486.02 102.84,486.01 104.30,486.00 105.76,485.98 107.22,485.97 108.68,485.95 110.14,485.93 111.60,485.91 113.06,485.89 114.52,485.86 115.98,485.82 117.44,485.77 118.90,485.74 120.36,485.70 121.82,485.66 123.28,485.61 124.74,485.56 126.20,485.50 127.66,485.44 129.12,485.38 130.58,485.31 132.04,485.21 133.50,485.11 134.96,485.00 136.42,484.89 137.88,484.78 139.34,484.66 140.80,484.53 142.26,484.38 143.72,484.23 145.18,484.06 146.64,483.89 148.10,483.69 149.56,483.49 151.02,483.27 152.48,483.03 153.94,482.77 155.40,482.50 156.86,482.21 158.32,481.90 159.78,481.56 161.24,481.20 162.70,480.82 164.16,480.41 165.62,479.98 167.08,479.52 168.54,479.03 170.00,478.51 171.46,477.95 172.92,477.36 174.38,476.74 175.84,476.07 177.30,475.37 178.76,474.63 180.22,473.85 181.68,473.02 183.14,472.15 184.60,471.22 186.06,470.25 187.52,469.23 188.98,468.15 190.44,467.02 191.90,465.83 193.36,464.59 194.82,463.28 196.28,461.91 197.74,460.44 199.20,458.94 200.66,457.37 202.12,455.72 203.58,454.01 205.04,452.22 206.50,450.35 207.96,448.41 209.42,446.39 210.88,444.29 212.34,442.11 213.80,439.85 215.26,437.50 216.72,435.07 218.18,432.55 219.64,429.94 221.10,427.25 222.56,424.47 224.02,421.60 225.48,418.64 226.94,415.59 228.40,412.46 229.86,409.23 231.32,405.92 232.78,402.52 234.24,399.00 235.70,395.42 237.16,391.76 238.62,388.01 240.08,384.17 241.54,380.26 243.00,376.27 244.46,372.20 245.92,368.05 247.38,363.83 248.84,359.54 250.30,355.19 251.76,350.74 253.22,346.26 254.68,341.72 256.14,337.13 257.60,332.46 259.06,327.77 260.52,323.03 261.98,318.26 263.44,313.46 264.90,308.64 266.36,303.78 267.82,298.92 269.28,294.04 270.74,289.15 272.20,284.26 273.66,279.38 275.12,274.51 276.58,269.65 278.04,264.82 279.50,260.01 280.96,255.24 282.42,250.51 283.88,245.82 285.34,241.18 286.80,236.60 288.26,232.08 289.72,227.63 291.18,223.26 292.64,218.96 294.10,214.75 295.56,210.62 297.02,206.59 298.48,202.66 299.94,198.84 301.40,195.12 302.86,191.51 304.32,188.01 305.78,184.64 307.24,181.39 308.70,178.26 310.16,175.26 311.62,172.39 313.08,169.65 314.54,167.04 316.00,164.57 317.46,162.23 318.92,160.03 320.38,157.97 321.84,156.04 323.30,154.24 324.76,152.58 326.22,151.05 327.68,149.65 329.14,148.38 330.60,147.23 332.06,146.21 333.52,145.31 334.98,144.53 336.44,143.86 337.90,143.30 339.36,142.84 340.82,142.49 342.28,142.23 343.74,142.06 345.20,141.98 346.66,141.99 348.12,142.06 349.58,142.21 351.04,142.42 352.50,142.70 353.96,143.02 355.42,143.39 356.88,143.81 358.34,144.26 359.80,144.75 361.26,145.26 362.72,145.79 364.18,146.34 365.64,146.89 367.10,147.46 368.56,148.02 370.02,148.58 371.48,149.13 372.94,149.68 374.40,150.20 375.86,150.71 377.32,151.20 378.78,151.67 380.24,152.11 381.70,152.52 383.16,152.90 384.62,153.26 386.08,153.58 387.54,153.87 389.00,154.14 390.46,154.37 391.92,154.57 393.38,154.74 394.84,154.89 396.30,155.01 397.76,155.11 399.22,155.19 400.68,155.26 402.14,155.31 403.60,155.35 405.06,155.38 406.52,155.42 407.98,155.45 409.44,155.49 410.90,155.55 412.36,155.62 413.82,155.72 415.28,155.84 416.74,156.00 418.20,156.19 419.66,156.43 421.12,156.72 422.58,157.06 424.04,157.47 425.50,157.94 426.96,158.48 428.42,159.10 429.88,159.80 431.34,160.58 432.80,161.46 434.26,162.43 435.72,163.51 437.18,164.69 438.64,165.97 440.10,167.37 441.56,168.88 443.02,170.51 444.48,172.26 445.94,174.13 447.40,176.13 448.86,178.25 450.32,180.50 451.78,182.87 453.24,185.37 454.70,188.00 456.16,190.76 457.62,193.64 459.08,196.65 460.54,199.78 462.00,203.03 463.46,206.40 464.92,209.88 466.38,213.48 467.84,217.19 469.30,221.00 470.76,224.92 472.22,228.94 473.68,233.04 475.14,237.24 476.60,241.52 478.06,245.87 479.52,250.30 480.98,254.80 482.44,259.36 483.90,263.97 485.36,268.63 486.82,273.34 488.28,278.08 489.74,282.86 491.20,287.65 492.66,292.49 494.12,297.32 495.58,302.16 497.04,306.99 498.50,311.82 499.96,316.64 501.42,321.44 502.88,326.21 504.34,330.96 505.80,335.68 507.26,340.35 508.72,344.98 510.18,349.56 511.64,354.09 513.10,358.57 514.56,362.98 516.02,367.32 517.48,371.59 518.94,375.80 520.40,379.92 521.86,383.97 523.32,387.93 524.78,391.82 526.24,395.62 527.70,399.34 529.16,402.96 530.62,406.48 532.08,409.91 533.54,413.25 535.00,416.50 536.46,419.65 537.92,422.70 539.38,425.66 540.84,428.53 542.30,431.32 543.76,434.01 545.22,436.61 546.68,439.10 548.14,441.50 549.60,443.81 551.06,446.03 552.52,448.16 553.98,450.21 555.44,452.17 556.90,454.05 558.36,455.85 559.82,457.57 561.28,459.21 562.74,460.78 564.20,462.28 565.66,463.70 567.12,465.06 568.58,466.35 570.04,467.57 571.50,468.74 572.96,469.84 574.42,470.88 575.88,471.87 577.34,472.81 578.80,473.69 580.26,474.52 581.72,475.31 583.18,476.05 584.64,476.75 586.10,477.41 587.56,478.02 589.02,478.60 590.48,479.15 591.94,479.65 593.40,480.13 594.86,480.58 596.32,480.99 597.78,481.38 599.24,481.75 600.70,482.09 602.16,482.40 603.62,482.70 605.08,482.97 606.54,483.22 608.00,483.48 609.46,483.70 610.92,483.90 612.38,484.08 613.84,484.25 615.30,484.41 616.76,484.56 618.22,484.69 619.68,484.82 621.14,484.93 622.60,485.04 624.06,485.14 625.52,485.22 626.98,485.31 628.44,485.38 629.90,485.45 631.36,485.51 632.82,485.57 634.28,485.62 635.74,485.67 637.20,485.72 638.66,485.76 640.12,485.79 641.58,485.83 643.04,485.86 644.50,485.91 645.96,485.93 647.42,485.95 648.88,485.97 650.34,485.98 651.80,486.00 653.26,486.01 654.72,486.03 656.18,486.04 657.64,486.05 659.10,486.06 660.56,486.07 662.02,486.10 663.48,486.10 664.94,486.10 666.40,486.11 ' style='stroke-width: 0.75;' />
<line x1='101.38' y1='95.62' x2='122.98' y2='95.62' style='stroke-width: 0.75; stroke: #DF536B;' />
<line x1='101.38' y1='110.02' x2='122.98' y2='110.02' style='stroke-width: 0.75;' />
<text x='133.78' y='99.75' style='font-size: 12.00px; font-family: sans;' textLength='111.40px' lengthAdjust='spacingAndGlyphs'>original log likelihood</text>
diff --git a/tests/testthat/_snaps/multistart/parhist-for-biphasic-saemix-fit.svg b/tests/testthat/_snaps/multistart/parhist-for-biphasic-saemix-fit.svg
index aa2bc3d4..75519b07 100644
--- a/tests/testthat/_snaps/multistart/parhist-for-biphasic-saemix-fit.svg
+++ b/tests/testthat/_snaps/multistart/parhist-for-biphasic-saemix-fit.svg
@@ -25,106 +25,105 @@
</clipPath>
</defs>
<g clip-path='url(#cpNTkuMDR8Njg5Ljc2fDU5LjA0fDUwMi41Ng==)'>
-<polygon points='86.57,280.80 119.94,280.80 119.94,279.73 86.57,279.73 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
-<line x1='86.57' y1='280.64' x2='119.94' y2='280.64' style='stroke-width: 2.25; stroke-linecap: butt;' />
-<line x1='103.26' y1='280.88' x2='103.26' y2='280.80' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='103.26' y1='279.40' x2='103.26' y2='279.73' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='94.91' y1='280.88' x2='111.60' y2='280.88' style='stroke-width: 0.75;' />
-<line x1='94.91' y1='279.40' x2='111.60' y2='279.40' style='stroke-width: 0.75;' />
-<polygon points='86.57,280.80 119.94,280.80 119.94,279.73 86.57,279.73 ' style='stroke-width: 0.75; fill: none;' />
-<polygon points='128.29,283.31 161.66,283.31 161.66,281.06 128.29,281.06 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
-<line x1='128.29' y1='281.55' x2='161.66' y2='281.55' style='stroke-width: 2.25; stroke-linecap: butt;' />
-<line x1='144.97' y1='284.32' x2='144.97' y2='283.31' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='144.97' y1='280.40' x2='144.97' y2='281.06' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='136.63' y1='284.32' x2='153.31' y2='284.32' style='stroke-width: 0.75;' />
-<line x1='136.63' y1='280.40' x2='153.31' y2='280.40' style='stroke-width: 0.75;' />
-<polygon points='128.29,283.31 161.66,283.31 161.66,281.06 128.29,281.06 ' style='stroke-width: 0.75; fill: none;' />
-<polygon points='170.00,282.97 203.37,282.97 203.37,280.93 170.00,280.93 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
-<line x1='170.00' y1='281.23' x2='203.37' y2='281.23' style='stroke-width: 2.25; stroke-linecap: butt;' />
-<line x1='186.69' y1='283.92' x2='186.69' y2='282.97' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='186.69' y1='280.60' x2='186.69' y2='280.93' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='178.34' y1='283.92' x2='195.03' y2='283.92' style='stroke-width: 0.75;' />
-<line x1='178.34' y1='280.60' x2='195.03' y2='280.60' style='stroke-width: 0.75;' />
-<polygon points='170.00,282.97 203.37,282.97 203.37,280.93 170.00,280.93 ' style='stroke-width: 0.75; fill: none;' />
-<polygon points='211.71,288.27 245.09,288.27 245.09,230.06 211.71,230.06 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
-<line x1='211.71' y1='274.99' x2='245.09' y2='274.99' style='stroke-width: 2.25; stroke-linecap: butt;' />
-<line x1='228.40' y1='311.96' x2='228.40' y2='288.27' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='228.40' y1='188.50' x2='228.40' y2='230.06' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='220.06' y1='311.96' x2='236.74' y2='311.96' style='stroke-width: 0.75;' />
-<line x1='220.06' y1='188.50' x2='236.74' y2='188.50' style='stroke-width: 0.75;' />
-<polygon points='211.71,288.27 245.09,288.27 245.09,230.06 211.71,230.06 ' style='stroke-width: 0.75; fill: none;' />
-<polygon points='253.43,327.28 286.80,327.28 286.80,270.78 253.43,270.78 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
-<line x1='253.43' y1='285.69' x2='286.80' y2='285.69' style='stroke-width: 2.25; stroke-linecap: butt;' />
-<line x1='270.11' y1='371.25' x2='270.11' y2='327.28' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='270.11' y1='241.88' x2='270.11' y2='270.78' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='261.77' y1='371.25' x2='278.46' y2='371.25' style='stroke-width: 0.75;' />
-<line x1='261.77' y1='241.88' x2='278.46' y2='241.88' style='stroke-width: 0.75;' />
-<polygon points='253.43,327.28 286.80,327.28 286.80,270.78 253.43,270.78 ' style='stroke-width: 0.75; fill: none;' />
-<polygon points='295.14,291.59 328.51,291.59 328.51,287.40 295.14,287.40 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
-<line x1='295.14' y1='288.41' x2='328.51' y2='288.41' style='stroke-width: 2.25; stroke-linecap: butt;' />
-<line x1='311.83' y1='293.74' x2='311.83' y2='291.59' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='311.83' y1='287.34' x2='311.83' y2='287.40' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='303.49' y1='293.74' x2='320.17' y2='293.74' style='stroke-width: 0.75;' />
-<line x1='303.49' y1='287.34' x2='320.17' y2='287.34' style='stroke-width: 0.75;' />
-<polygon points='295.14,291.59 328.51,291.59 328.51,287.40 295.14,287.40 ' style='stroke-width: 0.75; fill: none;' />
-<circle cx='311.83' cy='280.80' r='2.70' style='stroke-width: 0.75;' />
-<polygon points='336.86,283.90 370.23,283.90 370.23,281.59 336.86,281.59 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
-<line x1='336.86' y1='282.92' x2='370.23' y2='282.92' style='stroke-width: 2.25; stroke-linecap: butt;' />
-<line x1='353.54' y1='284.49' x2='353.54' y2='283.90' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='353.54' y1='280.76' x2='353.54' y2='281.59' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='345.20' y1='284.49' x2='361.89' y2='284.49' style='stroke-width: 0.75;' />
-<line x1='345.20' y1='280.76' x2='361.89' y2='280.76' style='stroke-width: 0.75;' />
-<polygon points='336.86,283.90 370.23,283.90 370.23,281.59 336.86,281.59 ' style='stroke-width: 0.75; fill: none;' />
-<polygon points='378.57,280.94 411.94,280.94 411.94,280.30 378.57,280.30 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
-<line x1='378.57' y1='280.84' x2='411.94' y2='280.84' style='stroke-width: 2.25; stroke-linecap: butt;' />
-<line x1='395.26' y1='280.97' x2='395.26' y2='280.94' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='395.26' y1='279.67' x2='395.26' y2='280.30' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='386.91' y1='280.97' x2='403.60' y2='280.97' style='stroke-width: 0.75;' />
-<line x1='386.91' y1='279.67' x2='403.60' y2='279.67' style='stroke-width: 0.75;' />
-<polygon points='378.57,280.94 411.94,280.94 411.94,280.30 378.57,280.30 ' style='stroke-width: 0.75; fill: none;' />
-<polygon points='420.29,344.39 453.66,344.39 453.66,85.91 420.29,85.91 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
-<line x1='420.29' y1='201.33' x2='453.66' y2='201.33' style='stroke-width: 2.25; stroke-linecap: butt;' />
-<line x1='436.97' y1='745.85' x2='436.97' y2='344.39' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='436.97' y1='-33.80' x2='436.97' y2='85.91' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='428.63' y1='745.85' x2='445.31' y2='745.85' style='stroke-width: 0.75;' />
-<line x1='428.63' y1='-33.80' x2='445.31' y2='-33.80' style='stroke-width: 0.75;' />
-<polygon points='420.29,344.39 453.66,344.39 453.66,85.91 420.29,85.91 ' style='stroke-width: 0.75; fill: none;' />
-<polygon points='462.00,281.17 495.37,281.17 495.37,277.61 462.00,277.61 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
-<line x1='462.00' y1='279.82' x2='495.37' y2='279.82' style='stroke-width: 2.25; stroke-linecap: butt;' />
-<line x1='478.69' y1='281.54' x2='478.69' y2='281.17' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='478.69' y1='275.99' x2='478.69' y2='277.61' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='470.34' y1='281.54' x2='487.03' y2='281.54' style='stroke-width: 0.75;' />
-<line x1='470.34' y1='275.99' x2='487.03' y2='275.99' style='stroke-width: 0.75;' />
-<polygon points='462.00,281.17 495.37,281.17 495.37,277.61 462.00,277.61 ' style='stroke-width: 0.75; fill: none;' />
-<circle cx='478.69' cy='288.66' r='2.70' style='stroke-width: 0.75;' />
-<polygon points='503.71,281.91 537.09,281.91 537.09,279.30 503.71,279.30 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
-<line x1='503.71' y1='280.26' x2='537.09' y2='280.26' style='stroke-width: 2.25; stroke-linecap: butt;' />
-<line x1='520.40' y1='283.41' x2='520.40' y2='281.91' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='520.40' y1='275.80' x2='520.40' y2='279.30' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='512.06' y1='283.41' x2='528.74' y2='283.41' style='stroke-width: 0.75;' />
-<line x1='512.06' y1='275.80' x2='528.74' y2='275.80' style='stroke-width: 0.75;' />
-<polygon points='503.71,281.91 537.09,281.91 537.09,279.30 503.71,279.30 ' style='stroke-width: 0.75; fill: none;' />
-<polygon points='545.43,295.35 578.80,295.35 578.80,275.39 545.43,275.39 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
-<line x1='545.43' y1='280.51' x2='578.80' y2='280.51' style='stroke-width: 2.25; stroke-linecap: butt;' />
-<line x1='562.11' y1='319.35' x2='562.11' y2='295.35' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='562.11' y1='268.77' x2='562.11' y2='275.39' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='553.77' y1='319.35' x2='570.46' y2='319.35' style='stroke-width: 0.75;' />
-<line x1='553.77' y1='268.77' x2='570.46' y2='268.77' style='stroke-width: 0.75;' />
-<polygon points='545.43,295.35 578.80,295.35 578.80,275.39 545.43,275.39 ' style='stroke-width: 0.75; fill: none;' />
-<polygon points='587.14,305.26 620.51,305.26 620.51,280.40 587.14,280.40 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
-<line x1='587.14' y1='283.54' x2='620.51' y2='283.54' style='stroke-width: 2.25; stroke-linecap: butt;' />
-<line x1='603.83' y1='328.16' x2='603.83' y2='305.26' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='603.83' y1='272.69' x2='603.83' y2='280.40' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='595.49' y1='328.16' x2='612.17' y2='328.16' style='stroke-width: 0.75;' />
-<line x1='595.49' y1='272.69' x2='612.17' y2='272.69' style='stroke-width: 0.75;' />
-<polygon points='587.14,305.26 620.51,305.26 620.51,280.40 587.14,280.40 ' style='stroke-width: 0.75; fill: none;' />
-<polygon points='628.86,263.17 662.23,263.17 662.23,225.96 628.86,225.96 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
-<line x1='628.86' y1='244.47' x2='662.23' y2='244.47' style='stroke-width: 2.25; stroke-linecap: butt;' />
-<line x1='645.54' y1='299.95' x2='645.54' y2='263.17' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='645.54' y1='192.88' x2='645.54' y2='225.96' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
-<line x1='637.20' y1='299.95' x2='653.89' y2='299.95' style='stroke-width: 0.75;' />
-<line x1='637.20' y1='192.88' x2='653.89' y2='192.88' style='stroke-width: 0.75;' />
-<polygon points='628.86,263.17 662.23,263.17 662.23,225.96 628.86,225.96 ' style='stroke-width: 0.75; fill: none;' />
+<polygon points='86.57,281.86 119.94,281.86 119.94,281.05 86.57,281.05 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
+<line x1='86.57' y1='281.40' x2='119.94' y2='281.40' style='stroke-width: 2.25; stroke-linecap: butt;' />
+<line x1='103.26' y1='282.61' x2='103.26' y2='281.86' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='103.26' y1='280.53' x2='103.26' y2='281.05' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='94.91' y1='282.61' x2='111.60' y2='282.61' style='stroke-width: 0.75;' />
+<line x1='94.91' y1='280.53' x2='111.60' y2='280.53' style='stroke-width: 0.75;' />
+<polygon points='86.57,281.86 119.94,281.86 119.94,281.05 86.57,281.05 ' style='stroke-width: 0.75; fill: none;' />
+<polygon points='128.29,281.09 161.66,281.09 161.66,279.88 128.29,279.88 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
+<line x1='128.29' y1='280.70' x2='161.66' y2='280.70' style='stroke-width: 2.25; stroke-linecap: butt;' />
+<line x1='144.97' y1='281.58' x2='144.97' y2='281.09' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='144.97' y1='278.61' x2='144.97' y2='279.88' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='136.63' y1='281.58' x2='153.31' y2='281.58' style='stroke-width: 0.75;' />
+<line x1='136.63' y1='278.61' x2='153.31' y2='278.61' style='stroke-width: 0.75;' />
+<polygon points='128.29,281.09 161.66,281.09 161.66,279.88 128.29,279.88 ' style='stroke-width: 0.75; fill: none;' />
+<polygon points='170.00,280.59 203.37,280.59 203.37,279.25 170.00,279.25 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
+<line x1='170.00' y1='279.93' x2='203.37' y2='279.93' style='stroke-width: 2.25; stroke-linecap: butt;' />
+<line x1='186.69' y1='281.41' x2='186.69' y2='280.59' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='186.69' y1='277.80' x2='186.69' y2='279.25' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='178.34' y1='281.41' x2='195.03' y2='281.41' style='stroke-width: 0.75;' />
+<line x1='178.34' y1='277.80' x2='195.03' y2='277.80' style='stroke-width: 0.75;' />
+<polygon points='170.00,280.59 203.37,280.59 203.37,279.25 170.00,279.25 ' style='stroke-width: 0.75; fill: none;' />
+<polygon points='211.71,390.81 245.09,390.81 245.09,314.11 211.71,314.11 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
+<line x1='211.71' y1='349.06' x2='245.09' y2='349.06' style='stroke-width: 2.25; stroke-linecap: butt;' />
+<line x1='228.40' y1='466.84' x2='228.40' y2='390.81' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='228.40' y1='280.80' x2='228.40' y2='314.11' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='220.06' y1='466.84' x2='236.74' y2='466.84' style='stroke-width: 0.75;' />
+<line x1='220.06' y1='280.80' x2='236.74' y2='280.80' style='stroke-width: 0.75;' />
+<polygon points='211.71,390.81 245.09,390.81 245.09,314.11 211.71,314.11 ' style='stroke-width: 0.75; fill: none;' />
+<polygon points='253.43,253.88 286.80,253.88 286.80,176.67 253.43,176.67 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
+<line x1='253.43' y1='218.41' x2='286.80' y2='218.41' style='stroke-width: 2.25; stroke-linecap: butt;' />
+<line x1='270.11' y1='280.80' x2='270.11' y2='253.88' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='270.11' y1='99.85' x2='270.11' y2='176.67' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='261.77' y1='280.80' x2='278.46' y2='280.80' style='stroke-width: 0.75;' />
+<line x1='261.77' y1='99.85' x2='278.46' y2='99.85' style='stroke-width: 0.75;' />
+<polygon points='253.43,253.88 286.80,253.88 286.80,176.67 253.43,176.67 ' style='stroke-width: 0.75; fill: none;' />
+<polygon points='295.14,281.21 328.51,281.21 328.51,279.04 295.14,279.04 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
+<line x1='295.14' y1='279.74' x2='328.51' y2='279.74' style='stroke-width: 2.25; stroke-linecap: butt;' />
+<line x1='311.83' y1='282.98' x2='311.83' y2='281.21' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='311.83' y1='278.86' x2='311.83' y2='279.04' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='303.49' y1='282.98' x2='320.17' y2='282.98' style='stroke-width: 0.75;' />
+<line x1='303.49' y1='278.86' x2='320.17' y2='278.86' style='stroke-width: 0.75;' />
+<polygon points='295.14,281.21 328.51,281.21 328.51,279.04 295.14,279.04 ' style='stroke-width: 0.75; fill: none;' />
+<circle cx='311.83' cy='273.78' r='2.70' style='stroke-width: 0.75;' />
+<polygon points='336.86,281.16 370.23,281.16 370.23,276.59 336.86,276.59 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
+<line x1='336.86' y1='280.72' x2='370.23' y2='280.72' style='stroke-width: 2.25; stroke-linecap: butt;' />
+<line x1='353.54' y1='281.57' x2='353.54' y2='281.16' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='353.54' y1='273.84' x2='353.54' y2='276.59' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='345.20' y1='281.57' x2='361.89' y2='281.57' style='stroke-width: 0.75;' />
+<line x1='345.20' y1='273.84' x2='361.89' y2='273.84' style='stroke-width: 0.75;' />
+<polygon points='336.86,281.16 370.23,281.16 370.23,276.59 336.86,276.59 ' style='stroke-width: 0.75; fill: none;' />
+<polygon points='378.57,280.71 411.94,280.71 411.94,279.76 378.57,279.76 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
+<line x1='378.57' y1='280.43' x2='411.94' y2='280.43' style='stroke-width: 2.25; stroke-linecap: butt;' />
+<line x1='395.26' y1='281.04' x2='395.26' y2='280.71' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='395.26' y1='279.09' x2='395.26' y2='279.76' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='386.91' y1='281.04' x2='403.60' y2='281.04' style='stroke-width: 0.75;' />
+<line x1='386.91' y1='279.09' x2='403.60' y2='279.09' style='stroke-width: 0.75;' />
+<polygon points='378.57,280.71 411.94,280.71 411.94,279.76 378.57,279.76 ' style='stroke-width: 0.75; fill: none;' />
+<polygon points='420.29,367.01 453.66,367.01 453.66,255.90 420.29,255.90 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
+<line x1='420.29' y1='271.64' x2='453.66' y2='271.64' style='stroke-width: 2.25; stroke-linecap: butt;' />
+<line x1='436.97' y1='435.38' x2='436.97' y2='367.01' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='436.97' y1='251.19' x2='436.97' y2='255.90' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='428.63' y1='435.38' x2='445.31' y2='435.38' style='stroke-width: 0.75;' />
+<line x1='428.63' y1='251.19' x2='445.31' y2='251.19' style='stroke-width: 0.75;' />
+<polygon points='420.29,367.01 453.66,367.01 453.66,255.90 420.29,255.90 ' style='stroke-width: 0.75; fill: none;' />
+<polygon points='462.00,287.51 495.37,287.51 495.37,281.36 462.00,281.36 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
+<line x1='462.00' y1='285.66' x2='495.37' y2='285.66' style='stroke-width: 2.25; stroke-linecap: butt;' />
+<line x1='478.69' y1='288.72' x2='478.69' y2='287.51' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='478.69' y1='279.39' x2='478.69' y2='281.36' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='470.34' y1='288.72' x2='487.03' y2='288.72' style='stroke-width: 0.75;' />
+<line x1='470.34' y1='279.39' x2='487.03' y2='279.39' style='stroke-width: 0.75;' />
+<polygon points='462.00,287.51 495.37,287.51 495.37,281.36 462.00,281.36 ' style='stroke-width: 0.75; fill: none;' />
+<polygon points='503.71,282.82 537.09,282.82 537.09,280.27 503.71,280.27 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
+<line x1='503.71' y1='281.73' x2='537.09' y2='281.73' style='stroke-width: 2.25; stroke-linecap: butt;' />
+<line x1='520.40' y1='283.42' x2='520.40' y2='282.82' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='520.40' y1='278.60' x2='520.40' y2='280.27' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='512.06' y1='283.42' x2='528.74' y2='283.42' style='stroke-width: 0.75;' />
+<line x1='512.06' y1='278.60' x2='528.74' y2='278.60' style='stroke-width: 0.75;' />
+<polygon points='503.71,282.82 537.09,282.82 537.09,280.27 503.71,280.27 ' style='stroke-width: 0.75; fill: none;' />
+<polygon points='545.43,248.94 578.80,248.94 578.80,224.38 545.43,224.38 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
+<line x1='545.43' y1='238.69' x2='578.80' y2='238.69' style='stroke-width: 2.25; stroke-linecap: butt;' />
+<line x1='562.11' y1='280.80' x2='562.11' y2='248.94' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='562.11' y1='212.81' x2='562.11' y2='224.38' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='553.77' y1='280.80' x2='570.46' y2='280.80' style='stroke-width: 0.75;' />
+<line x1='553.77' y1='212.81' x2='570.46' y2='212.81' style='stroke-width: 0.75;' />
+<polygon points='545.43,248.94 578.80,248.94 578.80,224.38 545.43,224.38 ' style='stroke-width: 0.75; fill: none;' />
+<polygon points='587.14,261.50 620.51,261.50 620.51,214.29 587.14,214.29 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
+<line x1='587.14' y1='231.46' x2='620.51' y2='231.46' style='stroke-width: 2.25; stroke-linecap: butt;' />
+<line x1='603.83' y1='280.80' x2='603.83' y2='261.50' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='603.83' y1='198.75' x2='603.83' y2='214.29' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='595.49' y1='280.80' x2='612.17' y2='280.80' style='stroke-width: 0.75;' />
+<line x1='595.49' y1='198.75' x2='612.17' y2='198.75' style='stroke-width: 0.75;' />
+<polygon points='587.14,261.50 620.51,261.50 620.51,214.29 587.14,214.29 ' style='stroke-width: 0.75; fill: none;' />
+<polygon points='628.86,362.57 662.23,362.57 662.23,266.09 628.86,266.09 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' />
+<line x1='628.86' y1='298.49' x2='662.23' y2='298.49' style='stroke-width: 2.25; stroke-linecap: butt;' />
+<line x1='645.54' y1='471.48' x2='645.54' y2='362.57' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='645.54' y1='263.75' x2='645.54' y2='266.09' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
+<line x1='637.20' y1='471.48' x2='653.89' y2='471.48' style='stroke-width: 0.75;' />
+<line x1='637.20' y1='263.75' x2='653.89' y2='263.75' style='stroke-width: 0.75;' />
+<polygon points='628.86,362.57 662.23,362.57 662.23,266.09 628.86,266.09 ' style='stroke-width: 0.75; fill: none;' />
</g>
<g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'>
<line x1='103.26' y1='502.56' x2='645.54' y2='502.56' style='stroke-width: 0.75;' />
@@ -164,26 +163,26 @@
<polygon points='59.04,502.56 689.76,502.56 689.76,59.04 59.04,59.04 ' style='stroke-width: 0.75; fill: none;' />
</g>
<g clip-path='url(#cpNTkuMDR8Njg5Ljc2fDU5LjA0fDUwMi41Ng==)'>
-<circle cx='103.26' cy='279.55' r='8.10' style='stroke-width: 0.75; stroke: #61D04F;' />
-<circle cx='144.97' cy='287.60' r='8.10' style='stroke-width: 0.75; stroke: #61D04F;' />
-<circle cx='186.69' cy='283.99' r='8.10' style='stroke-width: 0.75; stroke: #61D04F;' />
-<circle cx='228.40' cy='61.16' r='8.10' style='stroke-width: 0.75; stroke: #61D04F;' />
-<circle cx='270.11' cy='482.33' r='8.10' style='stroke-width: 0.75; stroke: #61D04F;' />
-<circle cx='311.83' cy='299.21' r='8.10' style='stroke-width: 0.75; stroke: #61D04F;' />
-<circle cx='103.26' cy='280.26' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
-<circle cx='144.97' cy='283.67' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
-<circle cx='186.69' cy='282.56' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
-<circle cx='228.40' cy='232.04' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
-<circle cx='270.11' cy='324.73' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
-<circle cx='311.83' cy='288.37' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
-<circle cx='353.54' cy='283.16' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
-<circle cx='395.26' cy='281.33' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
-<circle cx='436.97' cy='267.20' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
-<circle cx='478.69' cy='280.92' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
-<circle cx='520.40' cy='277.10' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
-<circle cx='562.11' cy='291.56' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
-<circle cx='603.83' cy='297.83' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
-<circle cx='645.54' cy='252.27' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
+<circle cx='103.26' cy='280.53' r='8.10' style='stroke-width: 0.75; stroke: #61D04F;' />
+<circle cx='144.97' cy='286.34' r='8.10' style='stroke-width: 0.75; stroke: #61D04F;' />
+<circle cx='186.69' cy='282.29' r='8.10' style='stroke-width: 0.75; stroke: #61D04F;' />
+<circle cx='228.40' cy='183.59' r='8.10' style='stroke-width: 0.75; stroke: #61D04F;' />
+<circle cx='270.11' cy='371.54' r='8.10' style='stroke-width: 0.75; stroke: #61D04F;' />
+<circle cx='311.83' cy='283.45' r='8.10' style='stroke-width: 0.75; stroke: #61D04F;' />
+<circle cx='103.26' cy='281.23' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
+<circle cx='144.97' cy='282.41' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
+<circle cx='186.69' cy='280.87' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
+<circle cx='228.40' cy='354.47' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
+<circle cx='270.11' cy='213.94' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
+<circle cx='311.83' cy='272.62' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
+<circle cx='353.54' cy='280.56' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
+<circle cx='395.26' cy='280.72' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
+<circle cx='436.97' cy='325.61' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
+<circle cx='478.69' cy='285.95' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
+<circle cx='520.40' cy='277.95' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
+<circle cx='562.11' cy='241.50' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
+<circle cx='603.83' cy='216.61' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
+<circle cx='645.54' cy='302.30' r='5.40' style='stroke-width: 0.75; stroke: #DF536B;' />
<line x1='59.04' y1='280.80' x2='689.76' y2='280.80' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' />
<line x1='93.82' y1='465.98' x2='115.42' y2='465.98' style='stroke-width: 0.75;' />
<circle cx='104.62' cy='437.18' r='2.70' style='stroke-width: 0.75; stroke: #61D04F;' />
diff --git a/tests/testthat/test_multistart.R b/tests/testthat/test_multistart.R
index e0b1ecd7..8408413f 100644
--- a/tests/testthat/test_multistart.R
+++ b/tests/testthat/test_multistart.R
@@ -1,6 +1,7 @@
context("Multistart method for saem.mmkin models")
test_that("multistart works for saem.mmkin models", {
+ set.seed(123456)
saem_biphasic_m_multi <- multistart(saem_biphasic_m, n = 8,
cores = n_cores)
expect_known_output(print(saem_biphasic_m_multi),

Contact - Imprint