diff --git a/.DS_Store b/.DS_Store index a733281d39821eb2347610baaf7e69fceabde06a..f150b49ddc19bda030166997c44530b6f12d935e 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/inst/.DS_Store b/inst/.DS_Store index e24034ed332799b6b8eb75a5002f23e197cb11f6..4b90e596c58cdb00408483943fd2ca44dc0bfc2b 100644 Binary files a/inst/.DS_Store and b/inst/.DS_Store differ diff --git a/inst/extdata/feedadditives/orth.ngd b/inst/extdata/feedadditives/orth.ngd new file mode 100644 index 0000000000000000000000000000000000000000..ca0d0aa4e1fc6a468c96165c77525759eab5e786 --- /dev/null +++ b/inst/extdata/feedadditives/orth.ngd @@ -0,0 +1,91 @@ +Design Choice situation alt1.cow alt1.adv alt1.vet alt1.far alt1.met alt1.bon alt2.cow alt2.adv alt2.vet alt2.far alt2.met alt2.bon Block +1 1 0 0 0 0 0 1 1 0 1 0 3 0 8 +1 2 0 0 0 0 1 6 0 1 1 1 0 5 1 +1 3 0 0 0 0 2 1 0 1 0 0 0 0 4 +1 4 0 0 0 0 3 6 0 0 0 0 2 1 5 +1 5 0 1 0 0 3 3 0 1 1 1 1 2 5 +1 6 0 1 0 0 2 0 0 1 1 1 2 5 3 +1 7 0 1 0 0 1 3 1 0 0 0 2 4 1 +1 8 0 1 0 0 0 0 0 0 0 0 1 6 6 +1 9 1 0 0 0 3 7 0 0 0 1 2 3 2 +1 10 1 0 0 0 2 4 0 0 1 1 3 7 8 +1 11 1 0 0 0 1 7 0 0 0 1 1 0 4 +1 12 1 0 0 0 0 4 0 1 1 0 3 4 4 +1 13 1 1 0 0 0 5 0 0 1 0 2 2 3 +1 14 1 1 0 0 1 2 1 0 1 1 3 6 2 +1 15 1 1 0 0 2 5 1 0 1 1 0 1 5 +1 16 1 1 0 0 3 2 1 0 0 1 2 2 7 +1 17 0 0 1 0 0 2 1 0 1 1 1 6 4 +1 18 0 0 1 0 1 5 0 1 1 0 0 7 1 +1 19 0 0 1 0 2 2 0 1 0 0 3 3 7 +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 53 0 1 1 1 0 5 1 1 0 0 2 5 5 +1 54 0 1 1 1 1 2 0 1 0 1 1 1 2 +1 55 0 1 1 1 2 5 0 0 1 1 0 4 8 +1 56 0 1 1 1 3 2 1 1 0 1 1 4 6 +1 57 1 0 1 1 0 1 1 0 0 1 0 2 3 +1 58 1 0 1 1 1 6 1 1 0 0 0 5 6 +1 59 1 0 1 1 2 1 1 1 1 1 1 3 1 +1 60 1 0 1 1 3 6 0 0 0 1 0 3 6 +1 61 1 1 1 1 3 3 1 1 1 1 0 0 2 +1 62 1 1 1 1 2 0 0 1 0 0 2 0 1 +1 63 1 1 1 1 1 3 0 1 0 1 3 1 2 +1 64 1 1 1 1 0 0 1 1 0 1 2 7 7 +|||||||||| +design + ;alts = alt1*, alt2*, alt3 + ;orth = seq + ;rows = 64 + ;block = 8 + ;model: + U(alt1) = b1[0.2] * COW[0,1] + + b2[0.2] * ADV[0,1] + + b3[0.2] * VET[0,1] + + b4[0.2] * FAR[0,1] + + b5.dummy[0.1|0.2|0.3] * MET[1,2,3,0] + + b6.dummy[0.3|0.5|0.65|0.75|0.8|0.83|0.85] * BON[1,2,3,4,5,6,7,0] + + i1[0] * COW.dummy[0] * VET.dummy[1] + / + U(alt2) = b1 * COW + + b2 * ADV + + b3 * VET + + b4 * FAR + + b5 * MET + + b6 * BON + + i1 * COW.dummy[0] * VET.dummy[1] +/ + U(alt3) = asc3[0.2] +; +$ \ No newline at end of file diff --git a/tests/manual-tests/csa.RDS b/tests/manual-tests/csa.RDS index 6702f9c0bb182b736079b134c311beb042947848..056d8c5182a890151961e07777fa31a3d68bddf6 100644 Binary files a/tests/manual-tests/csa.RDS and b/tests/manual-tests/csa.RDS differ