tests/testthat/_snaps/dualnback.md

Default behavior works

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["pc_aud", "pc_both", "pc_vis", "mrt_aud", "mrt_both", "mrt_vis", "ies_aud", "ies_both", "ies_vis", "rcs_aud", "rcs_both", "rcs_vis", "lisas_aud", "lisas_both", "lisas_vis", "dprime_aud", "dprime_both", "dprime_vis"]
    },
    "row.names": {
      "type": "integer",
      "attributes": {},
      "value": [1]
    },
    "class": {
      "type": "character",
      "attributes": {},
      "value": ["tbl_df", "tbl", "data.frame"]
    }
  },
  "value": [
    {
      "type": "double",
      "attributes": {},
      "value": [0.4]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.45]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.5]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.71811698]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.47382086]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.30761821]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1.79529246]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1.05293524]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.61523643]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.80690401]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1.22790842]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1.96414757]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [2.17314511]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1.38847709]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.84290976]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [-0.45976824]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [-0.24104039]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0]
    }
  ]
}

Works with grouping variable

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["id", "pc_aud", "pc_both", "pc_vis", "mrt_aud", "mrt_both", "mrt_vis", "ies_aud", "ies_both", "ies_vis", "rcs_aud", "rcs_both", "rcs_vis", "lisas_aud", "lisas_both", "lisas_vis", "dprime_aud", "dprime_both", "dprime_vis"]
    },
    "row.names": {
      "type": "integer",
      "attributes": {},
      "value": [1, 2]
    },
    "class": {
      "type": "character",
      "attributes": {},
      "value": ["tbl_df", "tbl", "data.frame"]
    }
  },
  "value": [
    {
      "type": "integer",
      "attributes": {},
      "value": [1, 2]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.4, 0.65]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.45, 0.625]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.5, 0.6]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.71811698, 0.36379006]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.47382086, 0.29318688]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.30761821, 0.21670009]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1.79529246, 0.55967701]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1.05293524, 0.469099]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.61523643, 0.36116682]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.80690401, 1.54331832]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1.22790842, 1.68935217]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1.96414757, 1.89835483]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [2.17314511, 0.76613461]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1.38847709, 0.66695011]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.84290976, 0.53851175]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [-0.45976824, 0.70267324]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [-0.24104039, 0.61684868]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0, 0.47278912]
    }
  ]
}


psychelzh/dataproc.iquizoo documentation built on Oct. 20, 2024, 6:26 p.m.