tests/testthat/_snaps/adherence.md

estimated adherence works w/ npseudo != 0 [fake triples]

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["call", "coefficients", "loglik", "null.loglik", "df.residual", "df.null", "rank", "logposterior", "gamma", "normal", "iter", "rankings", "weights", "adherence", "ranker", "ties", "conv", "na.action"]
    },
    "class": {
      "type": "character",
      "attributes": {},
      "value": ["PlackettLuce"]
    }
  },
  "value": [
    {
      "type": "language",
      "attributes": {},
      "value": ["PlackettLuce(rankings = R, gamma = list(shape = 100, rate = 100))"]
    },
    {
      "type": "double",
      "attributes": {
        "names": {
          "type": "character",
          "attributes": {},
          "value": ["apple", "banana", "orange", "pear"]
        }
      },
      "value": [2.20098389, 1.47977409, 0.2832371, 0.19216854]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [-7.46763542]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [-12.13685118]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [17]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [20]
    },
    {
      "type": "integer",
      "attributes": {},
      "value": [3]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [-810.73244092]
    },
    {
      "type": "list",
      "attributes": {
        "names": {
          "type": "character",
          "attributes": {},
          "value": ["shape", "rate"]
        }
      },
      "value": [
        {
          "type": "double",
          "attributes": {},
          "value": [100]
        },
        {
          "type": "double",
          "attributes": {},
          "value": [100]
        }
      ]
    },
    {
      "type": "NULL"
    },
    {
      "type": "integer",
      "attributes": {},
      "value": [2]
    },
    {
      "type": "integer",
      "attributes": {
        "dim": {
          "type": "integer",
          "attributes": {},
          "value": [8, 4]
        },
        "dimnames": {
          "type": "list",
          "attributes": {},
          "value": [
            {
              "type": "NULL"
            },
            {
              "type": "character",
              "attributes": {},
              "value": ["apple", "banana", "orange", "pear"]
            }
          ]
        },
        "class": {
          "type": "character",
          "attributes": {},
          "value": ["rankings"]
        }
      },
      "value": [1, 0, 2, 1, 2, 1, 1, 0, 2, 1, 1, 2, 0, 0, 2, 1, 3, 2, 0, 3, 1, 3, 0, 2, 0, 3, 3, 0, 3, 2, 0, 0]
    },
    {
      "type": "integer",
      "attributes": {},
      "value": [1, 1, 1, 1, 1, 1, 1, 1]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.99560284, 0.99597636, 0.99080292, 0.99560284, 0.97604704, 0.99166396, 0.99157188, 0.99266463]
    },
    {
      "type": "integer",
      "attributes": {},
      "value": [1, 2, 3, 4, 5, 6, 7, 8]
    },
    {
      "type": "integer",
      "attributes": {},
      "value": [1]
    },
    {
      "type": "integer",
      "attributes": {},
      "value": [0]
    },
    {
      "type": "NULL"
    }
  ]
}


hturner/PlackettLuce documentation built on July 6, 2023, 7:34 a.m.