tests/testthat/_snaps/make_design.md

design

Code
  str(design_data, give.attr = FALSE)
Output
  List of 9
   $ Flist      :List of 5
    ..$ :Class 'formula'  language v ~ lM
    ..$ :Class 'formula'  language sv ~ lM
    ..$ :Class 'formula'  language B ~ E + lR
    ..$ :Class 'formula'  language t0 ~ E2 + CO
    ..$ :Class 'formula'  language A ~ 1
   $ Ffactors   :List of 3
    ..$ subjects: chr [1:19] "as1t" "bd6t" "bl1t" "hsft" ...
    ..$ E       : chr [1:3] "speed" "neutral" "accuracy"
    ..$ S       : chr [1:2] "left" "right"
   $ Rlevels    : chr [1:2] "left" "right"
   $ Clist      :List of 1
    ..$ v:List of 1
    .. ..$ lM: num [1:2, 1] -0.5 0.5
   $ matchfun   :function (d)  
   $ constants  : Named num [1:2] 0 -Inf
   $ Fcovariates:List of 1
    ..$ CO: NULL
   $ Ffunctions :List of 1
    ..$ E2:function (d)  
   $ model      :function ()
Code
  str(design_custom, give.attr = FALSE)
Output
  List of 9
   $ Flist      :List of 3
    ..$ :Class 'formula'  language m ~ 0 + S
    ..$ :Class 'formula'  language s ~ 1
    ..$ :Class 'formula'  language t0 ~ 1
   $ Ffactors   :List of 2
    ..$ S       : chr [1:2] "left" "right"
    ..$ subjects: int [1:3] 1 2 3
   $ Rlevels    : chr [1:2] "left" "right"
   $ Clist      : NULL
   $ matchfun   : NULL
   $ constants  : Named num 0
   $ Fcovariates: NULL
   $ Ffunctions : NULL
   $ model      :function ()


Try the EMC2 package in your browser

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

EMC2 documentation built on April 11, 2025, 5:50 p.m.