Package: NCA 5.1.0

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, a characteristic) is necessary but not sufficient for a (desired or undesired) level of y (e.g., good performance or disease). The method and the use of this package are described in the book Dul, J. (2027) 'Necessary Condition Analysis (NCA): Principles and Application', Chapman & Hall/CRC Press, with a free online version at <https://jandul.github.io/nca-book/>. The Quick Start Guide NCA with R and other materials are available on the NCA landing page <https://jandul.github.io/NCA/>. The package includes two example datasets (nca.example and nca.example2).

Authors:Jan Dul [aut], Govert Buijs [cre]

NCA_5.1.0.tar.gz
NCA_5.1.0.zip(r-4.7-any)NCA_5.1.0.zip(r-4.6-any)NCA_5.1.0.zip(r-4.5-any)
NCA_5.1.0.tgz(r-4.6-any)NCA_5.1.0.tgz(r-4.5-any)
NCA_5.1.0.tar.gz(r-4.7-any)NCA_5.1.0.tar.gz(r-4.6-any)
NCA_5.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
NCA/json (API)

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

Bug tracker:https://github.com/jandul/nca/issues

Datasets:
  • nca.example - NCA example data with 2 conditions and 1 outcome
  • nca.example2 - NCA example data with 3 conditions and 1 outcome

On CRAN:

Conda:

3.95 score 1 stars 3 packages 2.0k downloads 81 mentions 16 exports 87 dependencies

Last updated from:a1a015a682. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK224
source / vignettesOK262
linux-releaseOK215
macos-releaseOK163
macos-oldrelOK151
windows-develOK150
windows-releaseOK153
windows-oldrelOK155
wasm-releaseOK121

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

Dependencies:askpassbase64encbitbit64bitopsblobbslibcachemcaToolsclicodetoolscpp11crosstalkcurldata.tableDBIdigestdoParalleldplyrevaluatefarverfastmapfontawesomeforeachfsgenericsggplot2gluegplotsgtablegtoolshighrhtmltoolshtmlwidgetshttrisobanditeratorsjquerylibjsonliteKernSmoothknitrlabelinglaterlatticelazyevallifecyclelpSolvemagrittrMASSMatrixMatrixModelsmemoisemimeopensslotelpillarpkgconfigplotlypromisespurrrquantregR6rappdirsRColorBrewerRcpprlangrmarkdownRSQLiteS7sassscalesSparseMstringistringrsurvivalsystibbletidyrtidyselecttinytextruncnormutf8vctrsviridisLitewithrxfunyaml