{
  "_id": "6afe2a54d65881f9616f36f3",
  "Package": "NCA",
  "Type": "Package",
  "Title": "Necessary Condition Analysis",
  "Version": "5.1.0",
  "Date": "2026-11-18",
  "Authors@R": "c(person(given = \"Jan\",\nfamily = \"Dul\",\nrole = \"aut\",\nemail = \"jdul@rsm.nl\"),\nperson(given = \"Govert\",\nfamily = \"Buijs\",\nrole = \"cre\",\nemail = \"buijs@rsm.nl\"))",
  "Description": "Performs a Necessary Condition Analysis (NCA). (Dul, J.\n2016. Necessary Condition Analysis (NCA). ''Logic and\nMethodology of 'Necessary but not Sufficient' causality.\"\nOrganizational Research Methods 19(1), 10-52)\n<doi:10.1177/1094428115584005>. NCA identifies necessary (but\nnot sufficient) conditions in datasets, where x causes (e.g.\nprecedes) y. Instead of drawing a regression line ''through the\nmiddle of the data'' in an xy-plot, NCA draws the ceiling line.\nThe ceiling line y = f(x) separates the area with observations\nfrom the area without observations. (Nearly) all observations\nare below the ceiling line: y <= f(x). The empty zone is in the\nupper left hand corner of the xy-plot (with the convention that\nthe x-axis is ''horizontal'' and the y-axis is ''vertical'' and\nthat values increase ''upwards'' and ''to the right''). The\nceiling line is a (piecewise) linear non-decreasing line: a\nlinear step function or a straight line. It indicates which\nlevel of x (e.g., an effort, a characteristic) is necessary but\nnot sufficient for a (desired or undesired) level of y (e.g.,\ngood performance or disease). The method and the use of this\npackage are described in the book Dul, J. (2027) 'Necessary\nCondition Analysis (NCA): Principles and Application', Chapman\n& Hall/CRC Press, with a free online version at\n<https://jandul.github.io/nca-book/>. The Quick Start Guide NCA\nwith R and other materials are available on the NCA landing\npage <https://jandul.github.io/NCA/>. The package includes two\nexample datasets (nca.example and nca.example2).",
  "URL": "https://jandul.github.io/NCA/, https://jandul.github.io/nca-book/,\nhttps://www.eur.nl/en/erim/erim/research-initiatives/necessary-condition-analysis",
  "License": "GPL (>= 3)",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-18 22:40:05 UTC",
    "User": "root"
  },
  "Author": "Jan Dul [aut], Govert Buijs [cre]",
  "Maintainer": "Govert Buijs <buijs@rsm.nl>",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev",
  "Repository": "https://govertbuijs.r-universe.dev",
  "Date/Publication": "2026-11-18 13:30:10 UTC",
  "RemoteUrl": "https://github.com/cran/NCA",
  "RemoteRef": "HEAD",
  "RemoteSha": "a1a015a6821fb47ae6162db013bcc8115d4ecf2d",
  "_user": "govertbuijs",
  "_type": "src",
  "_file": "NCA_5.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/b8cdd737109dd26a9bafa5544673b192661d08ded3c8e1106cabeecc48364ceb",
  "_filesize": 235108,
  "_sha256": "b8cdd737109dd26a9bafa5544673b192661d08ded3c8e1106cabeecc48364ceb",
  "_expires": "2027-02-26T22:44:34.000Z",
  "_created": "2026-11-18T22:40:05.000Z",
  "_published": "2026-11-20T01:58:31.057Z",
  "_upstream": "https://github.com/cran/NCA",
  "_status": "success",
  "_maintainer": {
    "name": "Govert Buijs",
    "email": "buijs@rsm.nl",
    "login": "govertbuijs",
    "description": "",
    "uuid": 1003956
  },
  "_jobs": [
    {
      "job": 135188744177,
      "time": 224,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14478362322"
    },
    {
      "job": 135188744118,
      "time": 215,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14477344846"
    },
    {
      "job": 135188744130,
      "time": 151,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14479665810"
    },
    {
      "job": 135188744294,
      "time": 163,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14477703663"
    },
    {
      "job": 135186323841,
      "time": 262,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14478816347"
    },
    {
      "job": 135188744173,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14479695846"
    },
    {
      "job": 135188744431,
      "time": 150,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14479496072"
    },
    {
      "job": 135188744267,
      "time": 155,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14478207579"
    },
    {
      "job": 135188744054,
      "time": 153,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14478357174"
    }
  ],
  "_buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/44413094409",
  "_commit": {
    "id": "a1a015a6821fb47ae6162db013bcc8115d4ecf2d",
    "author": "Govert Buijs <buijs@rsm.nl>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 5.1.0\n",
    "time": 1795008610
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "gplots",
      "role": "Imports"
    },
    {
      "package": "quantreg",
      "role": "Imports"
    },
    {
      "package": "KernSmooth",
      "role": "Imports"
    },
    {
      "package": "lpSolve",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "iterators",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Imports"
    },
    {
      "package": "truncnorm",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "RSQLite",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2025-51",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-47",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "4.0.5",
      "date": "2025-12-21"
    },
    {
      "name": "5.0.0",
      "date": "2026-03-20"
    },
    {
      "name": "5.0.1",
      "date": "2026-04-28"
    },
    {
      "name": "5.0.2",
      "date": "2026-06-17"
    },
    {
      "name": "5.1.0",
      "date": "2026-11-18"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "govertbuijs",
      "count": 25,
      "uuid": 1003956
    }
  ],
  "_userbio": {
    "uuid": 1003956,
    "type": "user",
    "name": "govertbuijs",
    "followers": 3
  },
  "_downloads": {
    "count": 1991,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NCA"
  },
  "_mentions": 81,
  "_devurl": "https://github.com/jandul/nca",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NCA.html",
    "extra/NEWS.html",
    "extra/NEWS.txt"
  ],
  "_realowner": "govertbuijs",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2015-07-02"
    },
    {
      "version": "1.1",
      "date": "2015-10-10"
    },
    {
      "version": "2.0",
      "date": "2016-05-18"
    },
    {
      "version": "3.0",
      "date": "2018-08-01"
    },
    {
      "version": "3.0.1",
      "date": "2018-08-21"
    },
    {
      "version": "3.0.2",
      "date": "2019-11-22"
    },
    {
      "version": "3.0.3",
      "date": "2020-06-11"
    },
    {
      "version": "3.1.0",
      "date": "2021-03-02"
    },
    {
      "version": "3.1.1",
      "date": "2021-05-03"
    },
    {
      "version": "3.2.0",
      "date": "2022-04-05"
    },
    {
      "version": "3.2.1",
      "date": "2022-09-15"
    },
    {
      "version": "3.3.0",
      "date": "2023-02-06"
    },
    {
      "version": "3.3.1",
      "date": "2023-02-10"
    },
    {
      "version": "3.3.2",
      "date": "2023-06-27"
    },
    {
      "version": "3.3.3",
      "date": "2023-09-05"
    },
    {
      "version": "4.0.0",
      "date": "2024-02-16"
    },
    {
      "version": "4.0.1",
      "date": "2024-02-23"
    },
    {
      "version": "4.0.2",
      "date": "2024-11-09"
    },
    {
      "version": "4.0.3",
      "date": "2025-10-14"
    },
    {
      "version": "4.0.4",
      "date": "2025-11-14"
    },
    {
      "version": "4.0.5",
      "date": "2025-12-21"
    },
    {
      "version": "5.0.0",
      "date": "2026-03-20"
    },
    {
      "version": "5.0.1",
      "date": "2026-04-28"
    },
    {
      "version": "5.0.2",
      "date": "2026-06-17"
    },
    {
      "version": "5.1.0",
      "date": "2026-11-18"
    }
  ],
  "_exports": [
    "ceilings",
    "line.colors",
    "line.types",
    "line.width",
    "nca",
    "nca_analysis",
    "nca_difference",
    "nca_extract",
    "nca_outliers",
    "nca_output",
    "nca_power",
    "nca_powerplot",
    "nca_random",
    "nca_util_normalize",
    "point.color",
    "point.type"
  ],
  "_datasets": [
    {
      "name": "nca.example",
      "title": "NCA example data with 2 conditions and 1 outcome",
      "object": "nca.example",
      "file": "nca.example.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Individualism",
        "Risk taking",
        "Innovation performance"
      ],
      "rows": 28,
      "table": true,
      "tojson": true
    },
    {
      "name": "nca.example2",
      "title": "NCA example data with 3 conditions and 1 outcome",
      "object": "nca.example2",
      "file": "nca.example2.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Innovation",
        "Contractual detail",
        "Goodwill trust",
        "Competence trust"
      ],
      "rows": 48,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "NCA-package",
      "title": "Necessary Condition Analysis",
      "topics": [
        "NCA-package"
      ]
    },
    {
      "page": "ceilings",
      "title": "a set of all available ceiling techniques",
      "topics": [
        "ceilings"
      ]
    },
    {
      "page": "line.colors",
      "title": "a set defining the line colors for the plots",
      "topics": [
        "line.colors"
      ]
    },
    {
      "page": "line.types",
      "title": "a set defining the line types for the plots",
      "topics": [
        "line.types"
      ]
    },
    {
      "page": "line.width",
      "title": "parameter defining the width of the lines in the plots",
      "topics": [
        "line.width"
      ]
    },
    {
      "page": "nca",
      "title": "Run a basic NCA analysis on a data set",
      "topics": [
        "nca"
      ]
    },
    {
      "page": "nca_analysis",
      "title": "Run NCA analyses on a data set",
      "topics": [
        "nca_analysis"
      ]
    },
    {
      "page": "nca_difference",
      "title": "Function for permutation tests",
      "topics": [
        "nca_difference"
      ]
    },
    {
      "page": "nca_extract",
      "title": "get model parameters",
      "topics": [
        "nca_extract"
      ]
    },
    {
      "page": "nca_outliers",
      "title": "Outlier detection",
      "topics": [
        "nca_outliers"
      ]
    },
    {
      "page": "nca_output",
      "title": "display the result of the NCA analysis",
      "topics": [
        "nca_output"
      ]
    },
    {
      "page": "nca_power",
      "title": "Function to evaluate power",
      "topics": [
        "nca_power"
      ]
    },
    {
      "page": "nca_powerplot",
      "title": "Function to show the powerplot",
      "topics": [
        "nca_powerplot"
      ]
    },
    {
      "page": "nca_random",
      "title": "generating random data that meets necessity",
      "topics": [
        "nca_random"
      ]
    },
    {
      "page": "nca_normalize",
      "title": "Normalizes numeric data",
      "topics": [
        "nca_util_normalize"
      ]
    },
    {
      "page": "nca.example",
      "title": "NCA example data with 2 conditions and 1 outcome",
      "topics": [
        "nca.example"
      ]
    },
    {
      "page": "nca.example2",
      "title": "NCA example data with 3 conditions and 1 outcome",
      "topics": [
        "nca.example2"
      ]
    },
    {
      "page": "point.color",
      "title": "parameter defining the point color in the plots",
      "topics": [
        "point.color"
      ]
    },
    {
      "page": "point.type",
      "title": "parameter defining the plotting symbol in the plots",
      "topics": [
        "point.type"
      ]
    }
  ],
  "_rundeps": [
    "askpass",
    "base64enc",
    "bit",
    "bit64",
    "bitops",
    "blob",
    "bslib",
    "cachem",
    "caTools",
    "cli",
    "codetools",
    "cpp11",
    "crosstalk",
    "curl",
    "data.table",
    "DBI",
    "digest",
    "doParallel",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gplots",
    "gtable",
    "gtools",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "lpSolve",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mime",
    "openssl",
    "otel",
    "pillar",
    "pkgconfig",
    "plotly",
    "promises",
    "purrr",
    "quantreg",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "RSQLite",
    "S7",
    "sass",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "truncnorm",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_score": 3.952283773802753,
  "_indexed": true,
  "_nocasepkg": "nca",
  "_universes": [
    "govertbuijs",
    "jandul"
  ],
  "_previous": "5.0.2",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "5.1.0",
      "date": "2026-11-18T22:43:10.000Z",
      "distro": "resolute",
      "commit": "a1a015a6821fb47ae6162db013bcc8115d4ecf2d",
      "fileid": "https://r2.ropensci.org/ea74720ad66c98a18fc4cd1fdae6ed3c92a70c497bc32f3391a43183b9b0b0b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/44413094409"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "5.1.0",
      "date": "2026-11-18T22:42:53.000Z",
      "distro": "resolute",
      "commit": "a1a015a6821fb47ae6162db013bcc8115d4ecf2d",
      "fileid": "https://r2.ropensci.org/f6940c8f86a11ae2f23ed319373678e7793d0d77ad7319ce1462704a56971101",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/44413094409"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "5.1.0",
      "date": "2026-11-18T22:42:09.000Z",
      "commit": "a1a015a6821fb47ae6162db013bcc8115d4ecf2d",
      "fileid": "https://r2.ropensci.org/5164479caaa735a41f11e990bf93961e8c1bc07f89a9c8a9d467c7aded471d22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/44413094409"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "5.1.0",
      "date": "2026-11-18T22:42:10.000Z",
      "commit": "a1a015a6821fb47ae6162db013bcc8115d4ecf2d",
      "fileid": "https://r2.ropensci.org/d77bc1227556701647c5630b9823826537572154a4f9e14740aa9bdcaf2ce50b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/44413094409"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "5.1.0",
      "date": "2026-11-18T22:42:33.000Z",
      "commit": "a1a015a6821fb47ae6162db013bcc8115d4ecf2d",
      "fileid": "https://r2.ropensci.org/c01c72a4555e97a24d16d12bcb02eda5c7cd220cc6e1cc9fa90e4243ca00e459",
      "status": "success",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/44413094409"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "5.1.0",
      "date": "2026-11-18T22:41:26.000Z",
      "commit": "a1a015a6821fb47ae6162db013bcc8115d4ecf2d",
      "fileid": "https://r2.ropensci.org/b9b19046ccaa7dd871ed3cd045ba59f70c97bd9452b96f32b546d4c6db8c804a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/44413094409"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "5.1.0",
      "date": "2026-11-18T22:41:33.000Z",
      "commit": "a1a015a6821fb47ae6162db013bcc8115d4ecf2d",
      "fileid": "https://r2.ropensci.org/cb94a78067f1ef6ef4d057039f50d69c3533a8b1629dfeff917d942232a3bbb5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/44413094409"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "5.1.0",
      "date": "2026-11-18T22:41:28.000Z",
      "commit": "a1a015a6821fb47ae6162db013bcc8115d4ecf2d",
      "fileid": "https://r2.ropensci.org/a4a84d21725d689e37dd30ca599cfdf4e21d9483b4216fa9814371ad43c93f87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/44413094409"
    }
  ]
}