Skip to content

NCA

5.0.2

Necessary Condition Analysis

0packages depend
14.7Kdownloads / year
1.7%test coverage
13/13checks pass

Overview

About
Maintained by Govert BuijsFirst published 2015-07-0224 releasesCRAN page ↗

Performs a Necessary Condition Analysis (NCA). (Dul, J. 2016. Necessary Condition Analysis (NCA). ''Logic and Methodology of 'Necessary but not Sufficient' causality." Organizational Research Methods 19(1), 10-52) doi:10.1177/1094428115584005. NCA identifies necessary (but not sufficient) conditions in datasets, where x causes (e.g. precedes) y. Instead of drawing a regression line ''through the middle of the data'' in an xy-plot, NCA draws the ceiling line. The ceiling line y = f(x) separates the area with observations from the area without observations. (Nearly) all observations are below the ceiling line: y <= f(x). The empty zone is in the upper left hand corner of the xy-plot (with the convention that the x-axis is ''horizontal'' and the y-axis is ''vertical'' and that values increase ''upwards'' and ''to the right''). The ceiling line is a (piecewise) linear non-decreasing line: a linear step function or a straight line. It indicates which level of x (e.g., an effort, a characteristic) is necessary but not sufficient for a (desired or undesired) level of y (e.g., good performance or disease). A quick start guide for using this package can be found here: https://repub.eur.nl/pub/78323/ or https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2624981.

Install

Health

CRAN checks
13OK
Slowest check: 4.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.02
1.7%
Coverage · measured lines
100%
Documentation · exports
12
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
13%
References docs
5%

Downloads

14.7K
CRAN downloads in the past year
Rank #3,159 · ~40/day · ~1.2K/mo
Daily download trend is not available in this view yet.
98130 days
3.8K90 days
14.7K1 year
Compare downloads with other packages →
Also on153 r2u

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Maintainer · added in 4.0.2
Authors (1)
Author
Package Timeline

24 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 5.0.2Latest
    2026-06-17 · current release · diff ↗
  • 5.0.1
    2026-04-28 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 5.0.0
    2026-03-20 · diff ↗
  • 4.0.5
    2025-12-21 · diff ↗
  • 4.0.4
    2025-11-14 · diff ↗
  • 4.0.3
    2025-10-14 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 4.0.2
    2024-11-09 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 4.0.1
    2024-02-23 · diff ↗
  • 4.0.0
    2024-02-16 · diff ↗
  • 3.3.3
    2023-09-05 · diff ↗
  • 3.3.2
    2023-06-27 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 3.3.1
    2023-02-10 · diff ↗
Show 20 earlier events
  • 3.3.0
    2023-02-06 · diff ↗
  • 3.2.1
    2022-09-15 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 3.2.0
    2022-04-05 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 3.1.1
    2021-05-03 · diff ↗
  • 3.1.0
    2021-03-02 · diff ↗
  • 3.0.3
    2020-06-11 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 3.0.2
    2019-11-22 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 3.0.1
    2018-08-21 · diff ↗
  • 3.0
    2018-08-01 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 2.0
    2016-05-18 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.1
    2015-10-10 · diff ↗
  • 1.0
    2015-07-02
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-07-02
Total releases
24 / 11 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5.0
Bundled data
1.2 KB / 3 files
Download size
71 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("NCA")
Buijs, G., & Dul, J. (2026). NCA: Necessary Condition Analysis (Version 5.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.NCA

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for NCA version 5.0.2 [Data set]. HJJB, LLC. Data release v2026-08-16. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-16, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy