Package: NCA 4.0.1

NCA: Necessary Condition Analysis

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 or input) is necessary but not sufficient for a (desired) level of y (e.g. good performance or output). 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>.

Authors:Jan Dul <[email protected]>

NCA_4.0.1.tar.gz
NCA_4.0.1.zip(r-4.5)NCA_4.0.1.zip(r-4.4)NCA_4.0.1.zip(r-4.3)
NCA_4.0.1.tgz(r-4.4-any)NCA_4.0.1.tgz(r-4.3-any)
NCA_4.0.1.tar.gz(r-4.5-noble)NCA_4.0.1.tar.gz(r-4.4-noble)
NCA_4.0.1.tgz(r-4.4-emscripten)NCA_4.0.1.tgz(r-4.3-emscripten)
NCA.pdf |NCA.html
NCA/json (API)
NEWS

# Install 'NCA' in R:
install.packages('NCA', repos = c('https://govertbuijs.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • nca.example - NCA example data with 2 independent and 1 dependent variables
  • nca.example2 - NCA example data with 3 independent and 1 dependent variables

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

12 exports 5.72 score 85 dependencies 81 mentions 6 scripts 560 downloads

Last updated 7 months agofrom:2026af8c48. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 25 2024
R-4.5-winOKAug 25 2024
R-4.5-linuxOKAug 25 2024
R-4.4-winOKAug 25 2024
R-4.4-macOKAug 25 2024
R-4.3-winOKAug 25 2024
R-4.3-macOKAug 25 2024

Exports:ceilingsline.colorsline.typesline.widthncanca_analysisnca_outliersnca_outputnca_powernca_randompoint.colorpoint.type

Dependencies:askpassbase64encbitopsbslibcachemcaToolsclicodetoolscolorspacecpp11crosstalkcurldata.tabledigestdoParalleldplyrevaluatefansifarverfastmapfontawesomeforeachfsgenericsggplot2gluegplotsgtablegtoolshighrhtmltoolshtmlwidgetshttrisobanditeratorsjquerylibjsonliteKernSmoothknitrlabelinglaterlatticelazyevallifecyclelpSolvemagrittrMASSMatrixMatrixModelsmemoisemgcvmimemunsellnlmeopensslpillarpkgconfigplotlypromisespurrrquantregR6rappdirsRColorBrewerRcpprlangrmarkdownsassscalesSparseMstringistringrsurvivalsystibbletidyrtidyselecttinytextruncnormutf8vctrsviridisLitewithrxfunyaml