{
  "_id": "6a32eb283efcd9bda43980d3",
  "Package": "NCA",
  "Type": "Package",
  "Title": "Necessary Condition Analysis",
  "Version": "5.0.2",
  "Date": "2026-06-16",
  "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). A quick start guide for using\nthis package can be found here:\n<https://repub.eur.nl/pub/78323/> or\n<https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2624981>.",
  "URL": "https://www.eur.nl/en/erim/erim/research-initiatives/necessary-condition-analysis",
  "License": "GPL (>= 3)",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-17 18:38:34 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-06-17 16:45:00 UTC",
  "RemoteUrl": "https://github.com/cran/NCA",
  "RemoteRef": "HEAD",
  "RemoteSha": "c69b351424467639617941448ab68ec4b8cda275",
  "MD5sum": "cc73588c812b9b1af71c0fc5b1a9e1d5",
  "_user": "govertbuijs",
  "_type": "src",
  "_file": "NCA_5.0.2.tar.gz",
  "_fileid": "da5a9f40264eab2f8a2758752058979663102d7565e5f048194b0ed4ad479d5a",
  "_filesize": 223068,
  "_sha256": "da5a9f40264eab2f8a2758752058979663102d7565e5f048194b0ed4ad479d5a",
  "_created": "2026-06-17T18:38:34.000Z",
  "_published": "2026-06-17T18:44:56.955Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81973399127,
      "time": 222,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7704686964"
    },
    {
      "job": 81973399191,
      "time": 220,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7704688099"
    },
    {
      "job": 81973399112,
      "time": 200,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7704667350"
    },
    {
      "job": 81973399138,
      "time": 200,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7704667254"
    },
    {
      "job": 81972707809,
      "time": 215,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7704602651"
    },
    {
      "job": 81973399213,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7704651552"
    },
    {
      "job": 81973399187,
      "time": 338,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7704728553"
    },
    {
      "job": 81973399098,
      "time": 310,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7704718799"
    },
    {
      "job": 81973399140,
      "time": 304,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7704718074"
    }
  ],
  "_buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/27711261498",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/NCA",
  "_commit": {
    "id": "c69b351424467639617941448ab68ec4b8cda275",
    "author": "Govert Buijs <buijs@rsm.nl>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 5.0.2\n",
    "time": 1781714700
  },
  "_maintainer": {
    "name": "Govert Buijs",
    "email": "buijs@rsm.nl",
    "login": "govertbuijs",
    "description": "",
    "uuid": 1003956
  },
  "_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": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-46",
      "n": 1
    },
    {
      "week": "2025-51",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "4.0.3",
      "date": "2025-10-14"
    },
    {
      "name": "4.0.4",
      "date": "2025-11-14"
    },
    {
      "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"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "govertbuijs",
      "count": 24,
      "uuid": 1003956
    }
  ],
  "_userbio": {
    "uuid": 1003956,
    "type": "user",
    "name": "govertbuijs",
    "followers": 3
  },
  "_downloads": {
    "count": 1547,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NCA"
  },
  "_mentions": 81,
  "_searchresults": 24,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NCA.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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 output",
      "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 analyses 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 output",
      "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.347852805794617,
  "_indexed": true,
  "_nocasepkg": "nca",
  "_universes": [
    "govertbuijs"
  ],
  "_previous": "5.0.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "5.0.2",
      "date": "2026-06-17T18:41:22.000Z",
      "distro": "noble",
      "commit": "c69b351424467639617941448ab68ec4b8cda275",
      "fileid": "cbc884c7d2b5096c5b8e1dfe2efdd4668b6c1cbbac3f0d8ea94dc88cbd71761d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/27711261498"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "5.0.2",
      "date": "2026-06-17T18:41:23.000Z",
      "distro": "noble",
      "commit": "c69b351424467639617941448ab68ec4b8cda275",
      "fileid": "263ee4c9b1d1a08c1dd779ea89dbe12bf426155e05c69e0c45c0292d4d7d3de5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/27711261498"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "5.0.2",
      "date": "2026-06-17T18:40:50.000Z",
      "commit": "c69b351424467639617941448ab68ec4b8cda275",
      "fileid": "5653affa228ed17874ea014b3046b94c33c301c36ecbd08a0a4faf96231bbd70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/27711261498"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "5.0.2",
      "date": "2026-06-17T18:40:55.000Z",
      "commit": "c69b351424467639617941448ab68ec4b8cda275",
      "fileid": "bfb94d7f0869da8816e5e297573ea2ad82b39684b211d7f40b346052b5e4051e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/27711261498"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "5.0.2",
      "date": "2026-06-17T18:41:03.000Z",
      "commit": "c69b351424467639617941448ab68ec4b8cda275",
      "fileid": "2225a116d3a120bbb88f059a90a8b48d6ebc153f3171c46fffd4894008ddaa4c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/27711261498"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "5.0.2",
      "date": "2026-06-17T18:43:06.000Z",
      "commit": "c69b351424467639617941448ab68ec4b8cda275",
      "fileid": "16591c5129bce10fd1ebc2d86b4f89b1f4bb7ab3b65d10945826d845b9bbf954",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/27711261498"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "5.0.2",
      "date": "2026-06-17T18:42:39.000Z",
      "commit": "c69b351424467639617941448ab68ec4b8cda275",
      "fileid": "e72debc004814d6915e93c758029ef4c82f011450ac5822324de12f6af782303",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/27711261498"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "5.0.2",
      "date": "2026-06-17T18:42:32.000Z",
      "commit": "c69b351424467639617941448ab68ec4b8cda275",
      "fileid": "15bf345330d3e8e19419d48816b4107ad50ed51efdcefce248ef95856b268d35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/govertbuijs/actions/runs/27711261498"
    }
  ]
}