tests/testthat/_snaps/robin_glm.md

robin_glm can be printed correctly

Code
  robin_res1
Output
  Model        :  y_b ~ treatment * s1 
  Randomization:  treatment ~ s1  ( Simple )
  Variance Type:  vcovG 
  Marginal Mean: 
       Estimate  Std.Err    2.5 % 97.5 %
  pbo  0.366007 0.033864 0.299634 0.4324
  trt1 0.580984 0.035027 0.512332 0.6496
  trt2 0.610154 0.034472 0.542589 0.6777

  Contrast     :  log_risk_ratio
                 Estimate  Std.Err Z Value  Pr(>|z|)    
  trt1 v.s. pbo  0.462072 0.110251  4.1911 2.776e-05 ***
  trt2 v.s. pbo  0.511059 0.108251  4.7211 2.346e-06 ***
  trt2 v.s. trt1 0.048987 0.082488  0.5939    0.5526    
  ---
  Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Code
  robin_res2
Output
  Model        :  y_b ~ treatment * s1 
  Randomization:  treatment ~ s1  ( Simple )
  Variance Type:  vcovG 
  Marginal Mean: 
       Estimate  Std.Err    2.5 % 97.5 %
  pbo  0.366007 0.033864 0.299634 0.4324
  trt1 0.580984 0.035027 0.512332 0.6496
  trt2 0.610154 0.034472 0.542589 0.6777

  Contrast     :  difference
                 Estimate  Std.Err Z Value  Pr(>|z|)    
  trt1 v.s. pbo  0.214978 0.048633  4.4204 9.850e-06 ***
  trt2 v.s. pbo  0.244147 0.048244  5.0607 4.177e-07 ***
  trt2 v.s. trt1 0.029169 0.049064  0.5945    0.5522    
  ---
  Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1


Try the RobinCar2 package in your browser

Any scripts or data that you put into this service are public.

RobinCar2 documentation built on Sept. 9, 2025, 5:28 p.m.