tests/testthat/_snaps/Model-methods.md

update-ModelPseudo works as expected for Effloglog

Code
  result
Output
  An object of class "Effloglog"
  Slot "eff":
  [1] 1.223 2.513

  Slot "eff_dose":
  [1]  29 304

  Slot "nu":
         a        b 
     6.500 5132.335

  Slot "use_fixed":
  [1] FALSE

  Slot "theta1":
  [1] 28.65738

  Slot "theta2":
  [1] 11.7395

  Slot "Pcov":
              (Intercept) log(log(x))
  (Intercept)    192.6410   -124.4682
  log(log(x))   -124.4682    128.1836

  Slot "X":
     (Intercept) log(log(x))
  3            1   -0.365792
  4            1    1.192660
  5            1    1.192660
  6            1    1.192660
  7            1   -0.365792
  8            1    1.374030
  9            1    1.374030
  10           1    1.374030
  11           1   -0.365792
  12           1    1.531470
  13           1    1.531470

  Slot "Y":
   [1] 13 77 86 26 27 36 37 97 21 49 48

  Slot "mu":
  [1] 28.65738 11.73950

  Slot "Q":
              (Intercept) log(log(x))
  (Intercept)     13.0000    12.62320
  log(log(x))     12.6232    19.53709

  Slot "const":
  [1] 2

  Slot "data":
  An object of class "DataDual"
  Slot "w":
   [1] 13 77 86 26 27 36 37 97 21 49 87 48

  Slot "x":
   [1]   0.001  25.000  25.000  25.000   0.001  50.000  50.000  50.000   0.001
  [10] 100.000 100.000 100.000

  Slot "y":
   [1] 0 0 0 0 0 0 0 0 0 0 1 0

  Slot "doseGrid":
   [1]   0.001  25.000  50.000  75.000 100.000 125.000 150.000 175.000 200.000
  [10] 225.000 250.000 275.000 300.000

  Slot "nGrid":
  [1] 13

  Slot "xLevel":
   [1] 1 2 2 2 1 3 3 3 1 5 5 5

  Slot "placebo":
  [1] TRUE

  Slot "ID":
   [1]  1  2  3  4  5  6  7  8  9 10 11 12

  Slot "cohort":
   [1] 1 1 1 1 2 2 2 2 3 3 3 3

  Slot "nObs":
  [1] 12

update-ModelPseudo works as expected for EffFlexi

Code
  result
Output
  An object of class "EffFlexi"
  Slot "eff":
  [1] 1.223 2.513

  Slot "eff_dose":
  [1]  25 300

  Slot "sigma2W":
    a   b 
  0.1 0.1

  Slot "sigma2betaW":
   a  b 
  20 50

  Slot "use_fixed":
      sigma2W sigma2betaW 
        FALSE       FALSE

  Slot "rw1":
  [1] TRUE

  Slot "X":
        [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13]
   [1,]    0    1    0    0    0    0    0    0    0     0     0     0     0
   [2,]    0    0    0    0    0    0    0    0    0     0     0     0     1
   [3,]    1    0    0    0    0    0    0    0    0     0     0     0     0
   [4,]    0    1    0    0    0    0    0    0    0     0     0     0     0
   [5,]    0    1    0    0    0    0    0    0    0     0     0     0     0
   [6,]    0    1    0    0    0    0    0    0    0     0     0     0     0
   [7,]    1    0    0    0    0    0    0    0    0     0     0     0     0
   [8,]    0    0    1    0    0    0    0    0    0     0     0     0     0
   [9,]    0    0    1    0    0    0    0    0    0     0     0     0     0
  [10,]    0    0    1    0    0    0    0    0    0     0     0     0     0
  [11,]    1    0    0    0    0    0    0    0    0     0     0     0     0
  [12,]    0    0    0    0    1    0    0    0    0     0     0     0     0
  [13,]    0    0    0    0    1    0    0    0    0     0     0     0     0

  Slot "RW":
        [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13]
   [1,]    1   -1    0    0    0    0    0    0    0     0     0     0     0
   [2,]   -1    2   -1    0    0    0    0    0    0     0     0     0     0
   [3,]    0   -1    2   -1    0    0    0    0    0     0     0     0     0
   [4,]    0    0   -1    2   -1    0    0    0    0     0     0     0     0
   [5,]    0    0    0   -1    2   -1    0    0    0     0     0     0     0
   [6,]    0    0    0    0   -1    2   -1    0    0     0     0     0     0
   [7,]    0    0    0    0    0   -1    2   -1    0     0     0     0     0
   [8,]    0    0    0    0    0    0   -1    2   -1     0     0     0     0
   [9,]    0    0    0    0    0    0    0   -1    2    -1     0     0     0
  [10,]    0    0    0    0    0    0    0    0   -1     2    -1     0     0
  [11,]    0    0    0    0    0    0    0    0    0    -1     2    -1     0
  [12,]    0    0    0    0    0    0    0    0    0     0    -1     2    -1
  [13,]    0    0    0    0    0    0    0    0    0     0     0    -1     1

  Slot "RW_rank":
  [1] 12

  Slot "data":
  An object of class "DataDual"
  Slot "w":
   [1] 13 77 86 26 27 36 37 97 21 49 87 48

  Slot "x":
   [1]   0.001  25.000  25.000  25.000   0.001  50.000  50.000  50.000   0.001
  [10] 100.000 100.000 100.000

  Slot "y":
   [1] 0 0 0 0 0 0 0 0 0 0 1 0

  Slot "doseGrid":
   [1]   0.001  25.000  50.000  75.000 100.000 125.000 150.000 175.000 200.000
  [10] 225.000 250.000 275.000 300.000

  Slot "nGrid":
  [1] 13

  Slot "xLevel":
   [1] 1 2 2 2 1 3 3 3 1 5 5 5

  Slot "placebo":
  [1] TRUE

  Slot "ID":
   [1]  1  2  3  4  5  6  7  8  9 10 11 12

  Slot "cohort":
   [1] 1 1 1 1 2 2 2 2 3 3 3 3

  Slot "nObs":
  [1] 12


Roche/crmPack documentation built on July 16, 2024, 2:15 a.m.