tests/testthat/_snaps/nback.md

Default behavior works

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["pc", "mrt", "ies", "rcs", "lisas", "dprime"]
    },
    "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.50886421]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1.27216053]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.54579516]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1.03113978]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [-0.45976824]
    }
  ]
}

Works with grouping variable

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["id", "pc", "mrt", "ies", "rcs", "lisas", "dprime"]
    },
    "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.5]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.50886421, 1.51223633]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1.27216053, 3.02447265]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.54579516, 0.42901939]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [1.03113978, 2.96307762]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [-0.45976824, 0]
    }
  ]
}


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