{
  "_id": "6a16b993acfb0bcc41d86a07",
  "Package": "CPTtools",
  "Title": "Tools for Creating Conditional Probability Tables",
  "Version": "0.9-1",
  "Date": "2026/05/19",
  "Author": "Russell Almond",
  "Maintainer": "Russell Almond <ralmond@fsu.edu>",
  "Authors@R": "person(given = \"Russell\",\nfamily = \"Almond\",\nrole = c(\"aut\", \"cre\"),\nemail = \"ralmond@fsu.edu\",\ncomment = c(ORCID = \"0000-0002-8876-9337\"))",
  "Description": "Provides support parameterized tables for Bayesian\nnetworks, particularly the IRT-like DiBello tables. Also,\nprovides some tools for visualing the networks.",
  "License": "Artistic-2.0",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.1.1",
  "URL": "http://pluto.coe.fsu.edu/RNetica",
  "VignetteBuilder": "knitr",
  "Support": "c( 'Bill & Melinda Gates Foundation grant \"Games as\nLearning/Assessment: Stealth Assessment\" (no. 0PP1035331, Val\nShute, PI)', 'National Science Foundation grant \"DIP:\nGame-based Assessment and Support of STEM-related Competencies\"\n(no. 1628937, Val Shute, PI)', 'National Science Foundation\ngrant \"Mathematical Learning via Architectural Design and\nModeling Using E-Rebuild.\" (no. 1720533, Fengfeng Ke, PI)',\n'Institute of Educational Statistics Grant: \"Exploring adaptive\ncognitive and affective learning support for next-generation\nSTEM learning games.\" (no. R305A170376-20, Val Shute and\nRussell Almond, PIs)' )",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ralmond.r-universe.dev",
  "Date/Publication": "2026-05-22 18:09:01 UTC",
  "RemoteUrl": "https://github.com/ralmond/CPTtools",
  "RemoteRef": "HEAD",
  "RemoteSha": "f571c5536313471a4944d73b53d54bb966114b28",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-27 09:22:04 UTC",
    "User": "root"
  },
  "MD5sum": "933992b5c2e806a74d7c93e1cc8ea970",
  "_user": "ralmond",
  "_type": "src",
  "_file": "CPTtools_0.9-1.tar.gz",
  "_fileid": "80e4038dea6b47ec86b95e197ba514d1b7ffcf7092dcf13caaf5b5dacf2c2a34",
  "_filesize": 997290,
  "_sha256": "80e4038dea6b47ec86b95e197ba514d1b7ffcf7092dcf13caaf5b5dacf2c2a34",
  "_created": "2026-05-27T09:22:04.000Z",
  "_published": "2026-05-27T09:29:55.849Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78047198540,
      "time": 195,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7236838114"
    },
    {
      "job": 78047198578,
      "time": 164,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7236827482"
    },
    {
      "job": 78047198712,
      "time": 274,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7236866666"
    },
    {
      "job": 78047198525,
      "time": 119,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7236811176"
    },
    {
      "job": 78046116300,
      "time": 388,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7236766176"
    },
    {
      "job": 78047198521,
      "time": 166,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7236827305"
    },
    {
      "job": 78047198516,
      "time": 162,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7236826709"
    },
    {
      "job": 78047198505,
      "time": 107,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7236806484"
    },
    {
      "job": 78047198553,
      "time": 105,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7236806240"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ralmond/actions/runs/26502431446",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ralmond/CPTtools",
  "_commit": {
    "id": "f571c5536313471a4944d73b53d54bb966114b28",
    "author": "Russell Almond <ralmond@fsu.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #33 from ralmond/working\n\nAdding mosaci2, assoc2 and cabiplot plots\nAdding is.matrix.CPF()\nAdding expected, resids, and g2Test\nDeprecated cptChi2 and cptG2\nAdding rCPF and rpCPF",
    "time": 1779473341
  },
  "_maintainer": {
    "name": "Russell Almond",
    "email": "ralmond@fsu.edu",
    "login": "ralmond",
    "orcid": "0000-0002-8876-9337",
    "description": "Assoc. Prof. of Measurement & Statistics @fsu",
    "uuid": 1767426
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "einsum",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "lattice",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    },
    {
      "package": "googlesheets4",
      "role": "Suggests"
    },
    {
      "package": "cowplot",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "vcd",
      "role": "Suggests"
    },
    {
      "package": "ca",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "ralmond",
  "_selfowned": true,
  "_usedby": 4,
  "_updates": [
    {
      "week": "2026-21",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "bayesian-network",
    "statistics"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "ralmond",
      "count": 127,
      "uuid": 1767426
    }
  ],
  "_userbio": {
    "uuid": 1767426,
    "type": "user",
    "name": "Russell Almond",
    "description": "Assoc. Prof. of Measurement & Statistics @FSU"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CPTtools"
  },
  "_devurl": "https://github.com/ralmond/cpttools",
  "_searchresults": 22,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/CPTtools.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "accuracy",
    "areaProbs",
    "as.CPA",
    "as.CPF",
    "assoc2",
    "barchart.CPF",
    "betaci",
    "build2FactorTab",
    "buildFactorTab",
    "buildMarginTab",
    "buildParentList",
    "buildRegressions",
    "buildRegressionTables",
    "cabiplot",
    "calcDDFrame",
    "calcDDTable",
    "calcDNFrame",
    "calcDNllike",
    "calcDNTable",
    "calcDPCFrame",
    "calcDPCTable",
    "calcDSFrame",
    "calcDSllike",
    "calcDSTable",
    "calcNoisyAndFrame",
    "calcNoisyAndTable",
    "calcNoisyOrFrame",
    "calcNoisyOrTable",
    "catTable",
    "ciTest",
    "colorspread",
    "compareBars",
    "compareBars2",
    "Compensatory",
    "Conjunctive",
    "cptChi2",
    "cptG2",
    "cptKL",
    "dataTable",
    "defaultAlphas",
    "defaultBetas",
    "Disjunctive",
    "EAPBal",
    "effectiveThetas",
    "eThetaFrame",
    "ewoe.CPF",
    "expected",
    "expected.CPA",
    "expected.CPF",
    "expected.matrix",
    "expTable",
    "factorPart",
    "fcKappa",
    "g2test",
    "getOffsetRules",
    "getTableParents",
    "getTableStates",
    "gkGamma",
    "gkLambda",
    "gradedResponse",
    "is.CPA",
    "is.CPF",
    "isDecreasing",
    "isIncreasing",
    "isMonotonic",
    "isNondecreasing",
    "isNonincreasing",
    "isOffsetRule",
    "localDepTest",
    "mapDPC",
    "marginTab",
    "mcSearch",
    "mosaic2",
    "mutualInformation",
    "normalize",
    "normalize.array",
    "normalize.CPA",
    "normalize.CPF",
    "normalize.data.frame",
    "normalize.default",
    "normalize.matrix",
    "normalizeTable",
    "normalLink",
    "numericPart",
    "OCP",
    "OCP.CPF",
    "OCP2",
    "OCP2.CPF",
    "OffsetConjunctive",
    "OffsetDisjunctive",
    "parseProbVec",
    "partialCredit",
    "plotsimplex",
    "proflevelci",
    "pvecTable",
    "pvecToCutpoints",
    "pvecToMidpoints",
    "rCPF",
    "readHistory",
    "rescaleTable",
    "resids",
    "resids.array",
    "resids.CPF",
    "rpCPF",
    "scaleMatrix",
    "scaleTable",
    "setOffsetRules",
    "simplex_vertex_projection",
    "stackedBarplot",
    "stackedBars",
    "structMatrix",
    "woeBal",
    "woeHist"
  ],
  "_datasets": [
    {
      "name": "ACED.items",
      "title": "Data from ACED field trial",
      "object": "ACED",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SubjID",
        "AltID",
        "Condition",
        "tCommonRatio1a",
        "tCommonRatio1b",
        "tCommonRatio2a",
        "tCommonRatio2b",
        "tCommonRatio3a",
        "tCommonRatio3b",
        "tExamplesGeometric1a",
        "tExamplesGeometric1b",
        "tExamplesGeometric2a",
        "tExamplesGeometric2b",
        "tExamplesGeometric3a",
        "tExamplesGeometric3b",
        "tExplicitGeometric1a",
        "tExplicitGeometric1b",
        "tExplicitGeometric2a",
        "tExplicitGeometric2b",
        "tExplicitGeometric3a",
        "tExplicitGeometric3b",
        "tExtendGeometric1a",
        "tExtendGeometric1c",
        "tExtendGeometric2a",
        "tExtendGeometric2c",
        "tExtendGeometric3a",
        "tExtendGeometric3b",
        "tModelExtendTableGeometric1a",
        "tModelExtendTableGeometric1b",
        "tModelExtendTableGeometric2a",
        "tModelExtendTableGeometric2b",
        "tModelExtendTableGeometric3a",
        "tModelExtendTableGeometric3b",
        "tRecursiveRuleGeometric1a",
        "tRecursiveRuleGeometric1b",
        "tRecursiveRuleGeometric2a",
        "tRecursiveRuleGeometric2b",
        "tRecursiveRuleGeometric3a",
        "tRecursiveRuleGeometric3b",
        "tSolveGeometricProblems1a",
        "tSolveGeometricProblems1b",
        "tSolveGeometricProblems2a",
        "tSolveGeometricProblems2b",
        "tSolveGeometricProblems3a",
        "tSolveGeometricProblems3b",
        "tTableExtendGeometric1a",
        "tTableExtendGeometric1b",
        "tTableExtendGeometric2a",
        "tTableExtendGeometric2b",
        "tTableExtendGeometric3a",
        "tTableExtendGeometric3b",
        "tVerbalRuleExplicitModelGeometric2a",
        "tVerbalRuleExplicitModelGeometric3a",
        "tVerbalRuleExtendModelGeometric1a",
        "tVerbalRuleExtendModelGeometric1b",
        "tVerbalRuleExtendModelGeometric2a",
        "tVerbalRuleModelGeometric3a",
        "tVisualExplicitVerbalRuleModelGeometric3a",
        "tVisualExplicitVerbalRuleModelGeometric3b",
        "tVisualExtendGeometric1a",
        "tVisualExtendGeometric1b",
        "tVisualExtendGeometric1c",
        "tVisualExtendGeometric2a",
        "tVisualExtendGeometric3a",
        "tVisualExtendTableModelVerbalRuleGeometric2a",
        "tVisualExtendVerbalRuleModelGeometric2a"
      ],
      "rows": 232,
      "table": true,
      "tojson": true
    },
    {
      "name": "ACED.posttest",
      "title": "Data from ACED field trial",
      "object": "ACED",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "ACED.prePost",
      "title": "Data from ACED field trial",
      "object": "ACED",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SubjID",
        "AltID",
        "Classroom",
        "Gender",
        "Race",
        "Level_Code",
        "pre_scaled",
        "post_scaled",
        "gain_scaled",
        "Form_Order",
        "PreACorr",
        "PostBCorr",
        "PreBCorr",
        "PostACorr",
        "PreScore",
        "PostScore",
        "Gain",
        "preacorr_adj",
        "postbcorr_adj",
        "prebcorr_adj",
        "postacorr_adj",
        "Zpreacorr_adj",
        "Zpostbcorr_adj",
        "Zprebcorr_adj",
        "Zpostacorr_adj",
        "scale_prea",
        "scale_preb",
        "scale_posta",
        "scale_postb",
        "Flagged",
        "Last_Row",
        "Gain_again",
        "Cond_code",
        "Sequencing",
        "Feedback"
      ],
      "rows": 290,
      "table": true,
      "tojson": true
    },
    {
      "name": "ACED.pretest",
      "title": "Data from ACED field trial",
      "object": "ACED",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "ACED.QEM",
      "title": "Data from ACED field trial",
      "object": "ACED",
      "class": [
        "data.frame"
      ],
      "fields": [
        "TaskModel",
        "commonRatio",
        "distinguishTypes",
        "examplesGeometric",
        "explicitGeometric",
        "extendGeometric",
        "modelGeometric",
        "recursiveRuleGeometric",
        "tableGeometric",
        "verbalGeometric",
        "visualGeometric",
        "Anchor",
        "Tasks"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    },
    {
      "name": "ACED.Qmatrix",
      "title": "Data from ACED field trial",
      "object": "ACED",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "commonRatio",
        "distinguishTypes",
        "examplesGeometric",
        "explicitGeometric",
        "extendGeometric",
        "modelGeometric",
        "recursiveRuleGeometric",
        "tableGeometric",
        "verbalGeometric",
        "visualGeometric"
      ],
      "rows": 63,
      "table": true,
      "tojson": true
    },
    {
      "name": "ACED.scores",
      "title": "Data from ACED field trial",
      "object": "ACED",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SubjID",
        "AltID",
        "Session",
        "Cond_code",
        "Sequencing",
        "Feedback",
        "All_Items",
        "Correct",
        "Incorrect",
        "Reamaining",
        "ElapsedTime",
        "P.sgp..H",
        "P.sgp..M",
        "P.sgp..L",
        "EAP.sgp",
        "MAP.sgp",
        "P.cr..H",
        "P.cr..M",
        "P.cr..L",
        "EAP.cr",
        "MAP.cr",
        "P.dt..H",
        "P.dt..M",
        "P.dt..L",
        "EAP.dt",
        "MAP.dt",
        "P.eg..H",
        "P.eg..M",
        "P.eg..L",
        "EAP.eg",
        "MAP.eg",
        "P.exp..H",
        "P.exp..M",
        "P.exp..L",
        "EAP.exp",
        "MAP.exp",
        "P.ext..H",
        "P.ext..M",
        "P.ext..L",
        "EAP.ext",
        "MAP.ext",
        "P.mod..H",
        "P.mod..M",
        "P.mod..L",
        "EAP.mod",
        "MAP.mod",
        "P.rr..H",
        "P.rr..M",
        "P.rr..L",
        "EAP.rr",
        "MAP.rr",
        "P.tab..H",
        "P.tab..M",
        "P.tab..L",
        "EAP.tab",
        "MAP.tab",
        "P.vr..H",
        "P.vr..M",
        "P.vr..L",
        "EAP.vr",
        "MAP.vr",
        "P.pic..H",
        "P.pic..M",
        "P.pic..L",
        "EAP.pic",
        "MAP.pic"
      ],
      "rows": 230,
      "table": true,
      "tojson": false
    },
    {
      "name": "ACED.skillNames",
      "title": "Data from ACED field trial",
      "object": "ACED",
      "class": [
        "data.frame"
      ],
      "fields": [
        "long",
        "short"
      ],
      "rows": 11,
      "table": true,
      "tojson": true
    },
    {
      "name": "ACED.splitHalves",
      "title": "Data from ACED field trial",
      "object": "ACED",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "ACED.taskNames",
      "title": "Data from ACED field trial",
      "object": "ACED",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "Language_exp",
      "title": "Accuracy and Expected Accuracy Matrixes for Langauge Test.",
      "object": "Language_exp",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "Language_modal",
      "title": "Accuracy and Expected Accuracy Matrixes for Langauge Test.",
      "object": "Language_modal",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "language16",
      "title": "Accuracy and Expected Accuracy Matrixes for Langauge Test.",
      "object": "language16",
      "class": [
        "data.frame"
      ],
      "fields": [
        "IDnum",
        "Listening",
        "Speaking",
        "Writing",
        "Reading",
        "TaskD4",
        "TaskD3",
        "TaskD2",
        "TaskD1",
        "TaskD",
        "TaskC2",
        "TaskC1",
        "TaskC",
        "TaskB2",
        "TaskB1",
        "TaskB",
        "TaskA4",
        "TaskA3",
        "TaskA2",
        "TaskA1",
        "TaskA",
        "Listening.Novice",
        "Listening.Intermediate",
        "Listening.Advanced",
        "Speaking.Novice",
        "Speaking.Intermediate",
        "Speaking.Advanced",
        "Writing.Novice",
        "Writing.Intermediate",
        "Writing.Advanced",
        "Reading.Novice",
        "Reading.Intermediate",
        "Reading.Advanced",
        "mode.Listening",
        "mode.Speaking",
        "mode.Writing",
        "mode.Reading"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "language24",
      "title": "Accuracy and Expected Accuracy Matrixes for Langauge Test.",
      "object": "language24",
      "class": [
        "data.frame"
      ],
      "fields": [
        "IDnum",
        "Listening",
        "Speaking",
        "Writing",
        "Reading",
        "TaskD5",
        "TaskD4",
        "TaskD3",
        "TaskD2",
        "TaskD1",
        "TaskD",
        "TaskC5",
        "TaskC4",
        "TaskC3",
        "TaskB5",
        "TaskB4",
        "TaskB3",
        "TaskA5",
        "TaskC2",
        "TaskC1",
        "TaskC",
        "TaskB2",
        "TaskB1",
        "TaskB",
        "TaskA4",
        "TaskA3",
        "TaskA2",
        "TaskA1",
        "TaskA",
        "Listening.Novice",
        "Listening.Intermediate",
        "Listening.Advanced",
        "Speaking.Novice",
        "Speaking.Intermediate",
        "Speaking.Advanced",
        "Writing.Novice",
        "Writing.Intermediate",
        "Writing.Advanced",
        "Reading.Novice",
        "Reading.Intermediate",
        "Reading.Advanced",
        "mode.Listening",
        "mode.Speaking",
        "mode.Writing",
        "mode.Reading"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "MathGrades",
      "title": "Grades on 5 mathematics tests from Mardia, Kent and Bibby",
      "object": "MathGrades",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "CPTtools-package",
      "title": "Tools for Creating Conditional Probability Tables",
      "topics": [
        "CPTtools-package",
        "CPTtools"
      ]
    },
    {
      "page": "ACED",
      "title": "Data from ACED field trial",
      "topics": [
        "ACED",
        "ACED.items",
        "ACED.posttest",
        "ACED.prePost",
        "ACED.pretest",
        "ACED.QEM",
        "ACED.Qmatrix",
        "ACED.scores",
        "ACED.skillNames",
        "ACED.splitHalves",
        "ACED.taskNames"
      ]
    },
    {
      "page": "areaProbs",
      "title": "Translates between normal and categorical probabilities",
      "topics": [
        "areaProbs",
        "pvecToCutpoints",
        "pvecToMidpoints"
      ]
    },
    {
      "page": "barchart.PDF",
      "title": "This function produces a plot of a conditional probability frame.",
      "topics": [
        "barchart.CPF"
      ]
    },
    {
      "page": "betaci",
      "title": "Credibility intervals for a proportion based on beta distribution",
      "topics": [
        "betaci"
      ]
    },
    {
      "page": "buildFactorTab",
      "title": "Builds probability tables from Scored Bayes net output.",
      "topics": [
        "build2FactorTab",
        "buildFactorTab",
        "buildMarginTab",
        "marginTab"
      ]
    },
    {
      "page": "buildParentList",
      "title": "Builds a list of parents of nodes in a graph",
      "topics": [
        "buildParentList"
      ]
    },
    {
      "page": "buildRegressions",
      "title": "Creates a series of regressions from a covariance matrix",
      "topics": [
        "buildRegressions"
      ]
    },
    {
      "page": "buildRegressionTables",
      "title": "Builds conditional probability tables from regressions",
      "topics": [
        "buildRegressionTables"
      ]
    },
    {
      "page": "cabiplot",
      "title": "Create a correspondence analysis biplot of a CPF",
      "concept": [
        "CPF",
        "correspondence analysis"
      ],
      "topics": [
        "cabiplot"
      ]
    },
    {
      "page": "calcDDTable",
      "title": "Calculates DiBello-Dirichlet model probability and parameter tables",
      "topics": [
        "calcDDFrame",
        "calcDDTable"
      ]
    },
    {
      "page": "calcDNTable",
      "title": "Creates the probability table for DiBello-Normal distribution",
      "topics": [
        "calcDNFrame",
        "calcDNTable"
      ]
    },
    {
      "page": "calcDPCTable",
      "title": "Creates the probability table for the discrete partial credit model",
      "topics": [
        "calcDPCFrame",
        "calcDPCTable"
      ]
    },
    {
      "page": "calcDSllike",
      "title": "Calculates the log-likelihood for data from a DiBello-Samejima (Normal) distribution",
      "topics": [
        "calcDNllike",
        "calcDSllike"
      ]
    },
    {
      "page": "calcDSTable",
      "title": "Creates the probability table for DiBello-Samejima distribution",
      "topics": [
        "calcDSFrame",
        "calcDSTable"
      ]
    },
    {
      "page": "calcNoisyAndTable",
      "title": "Calculate the conditional probability table for a Noisy-And or Noisy-Min distribution",
      "topics": [
        "calcNoisyAndFrame",
        "calcNoisyAndTable"
      ]
    },
    {
      "page": "calcNoisyOrTable",
      "title": "Calculate the conditional probability table for a Noisy-Or distribution",
      "topics": [
        "calcNoisyOrFrame",
        "calcNoisyOrTable"
      ]
    },
    {
      "page": "colorspread",
      "title": "Produces an ordered palate of colours with the same hue.",
      "topics": [
        "colorspread"
      ]
    },
    {
      "page": "compareBars",
      "title": "Produces comparison stacked bar charts for two sets of groups",
      "topics": [
        "compareBars",
        "compareBars2"
      ]
    },
    {
      "page": "Compensatory",
      "title": "DiBello-Samejima combination function",
      "topics": [
        "Compensatory",
        "Conjunctive",
        "Disjunctive"
      ]
    },
    {
      "page": "CPA",
      "title": "Representation of a conditional probability table as an array.",
      "topics": [
        "as.CPA",
        "as.matrix.CPA",
        "CPA",
        "is.CPA"
      ]
    },
    {
      "page": "CPF",
      "title": "Representation of a conditional probability table as a data frame.",
      "topics": [
        "as.CPF",
        "as.matrix.CPF",
        "CPF",
        "is.CPF"
      ]
    },
    {
      "page": "cptChi2",
      "title": "Compare and observed to an expected conditional probability table.",
      "concept": [
        "chi-square",
        "Conditional Probability Table"
      ],
      "topics": [
        "cptChi2",
        "cptG2",
        "cptKL"
      ]
    },
    {
      "page": "dataTable",
      "title": "Constructs a table of counts from a set of discrete observations.",
      "topics": [
        "dataTable"
      ]
    },
    {
      "page": "defaultAlphas",
      "title": "Generates default values for Alpha and Beta parameters",
      "topics": [
        "defaultAlphas",
        "defaultBetas"
      ]
    },
    {
      "page": "EAPBal",
      "title": "Produces a graphical balance sheet for EAP or other univarate statistics.",
      "topics": [
        "EAPBal"
      ]
    },
    {
      "page": "effectiveThetas",
      "title": "Assigns effective theta levels for categorical variable",
      "topics": [
        "effectiveThetas"
      ]
    },
    {
      "page": "eThetaFrame",
      "title": "Constructs a data frame showing the effective thetas for each parent combination.",
      "topics": [
        "eThetaFrame"
      ]
    },
    {
      "page": "ewoe.CPF",
      "title": "Calculates the expected weight of evidence from a conditional probability frame.",
      "concept": [
        "measures of agreement"
      ],
      "topics": [
        "ewoe.CPF"
      ]
    },
    {
      "page": "expected",
      "title": "Calculate the expected values for a model to match data",
      "concept": [
        "expected value",
        "CPF"
      ],
      "topics": [
        "expected",
        "expected.CPA",
        "expected.CPF",
        "expected.matrix"
      ]
    },
    {
      "page": "expTable",
      "title": "Builds expected contingency tables.",
      "concept": [
        "contigency table",
        "probability vector"
      ],
      "topics": [
        "catTable",
        "expTable",
        "pvecTable"
      ]
    },
    {
      "page": "fcKappa",
      "title": "Functions for measuring rater agreement.",
      "topics": [
        "accuracy",
        "fcKappa",
        "gkLambda"
      ]
    },
    {
      "page": "g2test",
      "title": "A chi-squared test for whether observed data are consistent with model",
      "concept": [
        "CPF"
      ],
      "topics": [
        "g2test"
      ]
    },
    {
      "page": "getTableStates",
      "title": "Gets meta data about a conditional probability table.",
      "topics": [
        "getTableParents",
        "getTableStates"
      ]
    },
    {
      "page": "gkGamma",
      "title": "Calculates the Goodman and Kruskal gamma measure of association.",
      "concept": [
        "Contingency Table",
        "Measures Of Association"
      ],
      "topics": [
        "gkGamma"
      ]
    },
    {
      "page": "gradedResponse",
      "title": "A link function based on Samejima's graded response",
      "topics": [
        "gradedResponse"
      ]
    },
    {
      "page": "isMonotonic",
      "title": "Tests to see if a sequence is ascending or descending",
      "topics": [
        "isDecreasing",
        "isIncreasing",
        "isMonotonic",
        "isNondecreasing",
        "isNonincreasing"
      ]
    },
    {
      "page": "isOffsetRule",
      "title": "Distinguishes Offset from ordinary rules.",
      "topics": [
        "getOffsetRules",
        "isOffsetRule",
        "setOffsetRules"
      ]
    },
    {
      "page": "LanguageData",
      "title": "Accuracy and Expected Accuracy Matrixes for Langauge Test.",
      "topics": [
        "language16",
        "language24",
        "Language_exp",
        "Language_modal"
      ]
    },
    {
      "page": "localDepTest",
      "title": "Tests for conditional independence between two variables given a third",
      "topics": [
        "ciTest",
        "localDepTest"
      ]
    },
    {
      "page": "mapDPC",
      "title": "Finds an MAP estimate for a discrete partial credit CPT",
      "topics": [
        "mapDPC"
      ]
    },
    {
      "page": "MathGrades",
      "title": "Grades on 5 mathematics tests from Mardia, Kent and Bibby",
      "topics": [
        "MathGrades"
      ]
    },
    {
      "page": "mcSearch",
      "title": "Orders variables using Maximum Cardinality search",
      "topics": [
        "mcSearch"
      ]
    },
    {
      "page": "mosaic2",
      "title": "Mosaic/association plot comparing data to CPF model",
      "concept": [
        "CPF",
        "residuals"
      ],
      "topics": [
        "assoc2",
        "mosaic2"
      ]
    },
    {
      "page": "mutualInformation",
      "title": "Calculates Mutual Information for a two-way table.",
      "concept": [
        "measures of agreement"
      ],
      "topics": [
        "mutualInformation"
      ]
    },
    {
      "page": "normalize",
      "title": "Normalizes a conditional probability table.",
      "topics": [
        "normalize",
        "normalize.array",
        "normalize.CPA",
        "normalize.CPF",
        "normalize.data.frame",
        "normalize.default",
        "normalize.matrix",
        "normalize.table"
      ]
    },
    {
      "page": "normalLink",
      "title": "Link function using a normal regression.",
      "topics": [
        "normalLink"
      ]
    },
    {
      "page": "numericPart",
      "title": "Splits a mixed data frame into a numeric matrix and a factor part.",
      "topics": [
        "factorPart",
        "numericPart"
      ]
    },
    {
      "page": "OCP",
      "title": "Observable Characteristic Plot",
      "topics": [
        "OCP",
        "OCP2"
      ]
    },
    {
      "page": "OCP.CPF",
      "title": "Plots a conditional probability distribuiton with data overlayed",
      "concept": [
        "Conditional Probability Table"
      ],
      "topics": [
        "OCP.CPF",
        "OCP2.CPF"
      ]
    },
    {
      "page": "OffsetConjunctive",
      "title": "Conjunctive combination function with one difficulty per parent.",
      "topics": [
        "OffsetConjunctive",
        "OffsetDisjunctive"
      ]
    },
    {
      "page": "parseProbVec",
      "title": "Parses Probability Vector Strings",
      "topics": [
        "parseProbVec",
        "parseProbVecRow"
      ]
    },
    {
      "page": "partialCredit",
      "title": "A link function based on the generalized partial credit model",
      "topics": [
        "partialCredit"
      ]
    },
    {
      "page": "plotsimplex",
      "title": "Produces a simplex plot of probability vectors.",
      "concept": [
        "simplex",
        "probability vector"
      ],
      "topics": [
        "plotsimplex",
        "simplex_vertex_projection"
      ]
    },
    {
      "page": "proflevelci",
      "title": "Produce cumulative sum credibility intervals",
      "topics": [
        "proflevelci"
      ]
    },
    {
      "page": "rCPF",
      "title": "Generate random data from a CPF model",
      "concept": [
        "CPF"
      ],
      "topics": [
        "rCPF",
        "rpCPF"
      ]
    },
    {
      "page": "readHistory",
      "title": "Reads a file of histories of marginal distributions.",
      "concept": [
        "weight of evidence"
      ],
      "topics": [
        "readHistory"
      ]
    },
    {
      "page": "rescaleTable",
      "title": "Rescales the numeric part of the table",
      "topics": [
        "normalizeTable",
        "rescaleTable"
      ]
    },
    {
      "page": "resids",
      "title": "Calculate residuals for differences between model and data",
      "concept": [
        "CPF",
        "residuals"
      ],
      "topics": [
        "resids",
        "resids.array",
        "resids.CPF"
      ]
    },
    {
      "page": "scaleMatrix",
      "title": "Scales a matrix to have a unit diagonal",
      "topics": [
        "scaleMatrix"
      ]
    },
    {
      "page": "scaleTable",
      "title": "Scales a table according to the Sum and Scale column.",
      "topics": [
        "scaleTable"
      ]
    },
    {
      "page": "stackedBarplot",
      "title": "Produces a hanging barplot",
      "topics": [
        "stackedBarplot"
      ]
    },
    {
      "page": "stackedBars",
      "title": "Produces a stacked, staggered barplot",
      "topics": [
        "stackedBars"
      ]
    },
    {
      "page": "structMatrix",
      "title": "Finds graphical structure from a covariance matrix",
      "topics": [
        "structMatrix"
      ]
    },
    {
      "page": "woeBal",
      "title": "Weight of Evidence Balance Sheet",
      "topics": [
        "woeBal"
      ]
    },
    {
      "page": "woeHist",
      "title": "Creates weights of evidence from a history matrix.",
      "topics": [
        "woeHist"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ralmond/CPTtools/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/ralmond/CPTtools/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "einsum",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "mathjaxr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "Regression.Rmd",
      "filename": "Regression.html",
      "title": "Building Bayesian networks using regression",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-04-11 23:56:41",
      "modified": "2023-07-18 15:56:35",
      "commits": 2
    },
    {
      "source": "CPF.Rmd",
      "filename": "CPF.html",
      "title": "Conditional Probability Frames and Arrays",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Conditional Probabilities over Discrete variables.",
        "CPF",
        "Graphics",
        "CPA",
        "Accessing data and metadata",
        "Hyperdirichlet distribution",
        "Scaling and Normalization",
        "Generating Contingency Tables",
        "Acknowledgements"
      ],
      "created": "2023-04-11 23:56:41",
      "modified": "2023-07-18 15:56:35",
      "commits": 2
    },
    {
      "source": "DPCmodels.Rmd",
      "filename": "DPCmodels.html",
      "title": "Discrete Partial Credit Models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "DiBello Framework",
        "Effective Thetas",
        "Combination Functions",
        "Compensatory",
        "Conjunctive, Disjunctive",
        "OffsetConjunctive, OffsetDisjunctive",
        "Inhibitor",
        "Link Functions",
        "2PL",
        "Graded Response",
        "Generalized Parial Credit",
        "Multiple Combination Rules",
        "Normal Offset",
        "CPT construction Functions",
        "DPC",
        "Earlier Graded Response Functions",
        "Other Models",
        "Peanut Framework",
        "References",
        "Works Cited",
        "List of Symbols",
        "List of functions"
      ],
      "created": "2021-05-23 21:00:35",
      "modified": "2023-04-11 23:56:41",
      "commits": 3
    },
    {
      "source": "graphing.Rmd",
      "filename": "graphing.html",
      "title": "Graphing Discrete Bayesian Networks",
      "engine": "knitr::rmarkdown",
      "headings": [
        "u---title: \"Graphing Discrete Bayesian Networks\"output: rmarkdown::html_vignettevignette: >%\\VignetteIndexEntry",
        "Graphical utilities",
        "Utility functions",
        "Graphing Conditional Probability Tables",
        "Results Graphs",
        "WOE",
        "Observable Characterisitic Plots",
        "Tables"
      ],
      "created": "2023-04-11 23:56:41",
      "modified": "2023-07-18 15:56:35",
      "commits": 2
    },
    {
      "source": "MeasuringAgreement.Rmd",
      "filename": "MeasuringAgreement.html",
      "title": "Measues of Agreement",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Assessment Design",
        "Form Design",
        "Simulation Experiment",
        "Building the Confusion Matrix",
        "The expected Confusion Matrix",
        "Measuring agreement.",
        "Unweighted Measures of Agreement",
        "Raw Agreement",
        "Goodman-Kruskal Lambda",
        "Fleis-Cohen Kappa",
        "Weighted versions",
        "Exercise"
      ],
      "created": "2024-12-24 19:42:38",
      "modified": "2025-04-24 16:41:42",
      "commits": 2
    },
    {
      "source": "ParemeterEstimation.Rmd",
      "filename": "ParemeterEstimation.html",
      "title": "Parameter Estimation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Compensatory Model",
        "True Model",
        "Data Generation",
        "Prior Model",
        "Model fitting",
        "Parameter Recovery",
        "CPT Recovery"
      ],
      "created": "2024-12-24 19:42:38",
      "modified": "2024-12-24 19:42:38",
      "commits": 1
    },
    {
      "source": "RefDist.Rmd",
      "filename": "RefDist.html",
      "title": "Reference Distributions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model setup",
        "Reliability Model",
        "Evidence Model",
        "Simulation"
      ],
      "created": "2024-12-24 19:42:38",
      "modified": "2024-12-24 19:42:38",
      "commits": 1
    },
    {
      "source": "Statistics.Rmd",
      "filename": "Statistics.html",
      "title": "Statistical Summaries of Conditional Probability Tables",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-04-11 23:56:41",
      "modified": "2023-04-11 23:56:41",
      "commits": 1
    },
    {
      "source": "TimeSeries.Rmd",
      "filename": "TimeSeries.html",
      "title": "Tracking Scores Over Time",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data Cleaning",
        "First differences",
        "Plots versus timestamps.  Hard to see what is going on.",
        "Working with discrete time.",
        "Remaining Issues:"
      ],
      "created": "2023-04-11 23:56:41",
      "modified": "2023-07-18 15:56:35",
      "commits": 2
    }
  ],
  "_score": 5.074816440645175,
  "_indexed": true,
  "_nocasepkg": "cpttools",
  "_universes": [
    "ralmond"
  ],
  "_previous": "0.8-5",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9-1",
      "date": "2026-05-27T09:27:50.000Z",
      "distro": "noble",
      "commit": "f571c5536313471a4944d73b53d54bb966114b28",
      "fileid": "030d0cf648a8e4925f5b809681a7081e954bb714d04c62d9fe026216d5ac0e59",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/26502431446"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9-1",
      "date": "2026-05-27T09:27:18.000Z",
      "distro": "noble",
      "commit": "f571c5536313471a4944d73b53d54bb966114b28",
      "fileid": "8b9180e46eb7766cc2801e47398712630639db11ad9432e9c050e23aab17b5af",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/26502431446"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9-1",
      "date": "2026-05-27T09:26:31.000Z",
      "commit": "f571c5536313471a4944d73b53d54bb966114b28",
      "fileid": "e863d86c141852c8867db78d14d926e5e8c4ef4254c53f8aef1bda32c5181d97",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/26502431446"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9-1",
      "date": "2026-05-27T09:26:39.000Z",
      "commit": "f571c5536313471a4944d73b53d54bb966114b28",
      "fileid": "ebe97c3685eb526b8091be7ab01ffccf26fe44cfa6817fb06b510b6a7e829261",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/26502431446"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9-1",
      "date": "2026-05-27T09:27:47.000Z",
      "commit": "f571c5536313471a4944d73b53d54bb966114b28",
      "fileid": "b72abad3595bb2b916a9419d01886acc208bdd22977616bda189d50b9d647cac",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/26502431446"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9-1",
      "date": "2026-05-27T09:27:03.000Z",
      "commit": "f571c5536313471a4944d73b53d54bb966114b28",
      "fileid": "8edc9c9c0b9ed4fb396345a4403b1fe467803723459be82c30c313d6a8665226",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/26502431446"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9-1",
      "date": "2026-05-27T09:26:08.000Z",
      "commit": "f571c5536313471a4944d73b53d54bb966114b28",
      "fileid": "a41f317158c02966884ea59b3d0fa5676ba584f67c81f437b6b1ea248d60dde4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/26502431446"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.9-1",
      "date": "2026-05-27T09:26:09.000Z",
      "commit": "f571c5536313471a4944d73b53d54bb966114b28",
      "fileid": "fc1384bd6d02c371a903547d6a39cb253e5327c1d173efd60dab0f3d94ee1cbb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ralmond/actions/runs/26502431446"
    }
  ]
}