Package: behaviorchange 25.8.0

Gjalt-Jorn Peters

behaviorchange: Tools for Behavior Change Researchers and Professionals

Contains specialised analyses and visualisation tools for behavior change science. These facilitate conducting determinant studies (for example, using confidence interval-based estimation of relevance, CIBER, or CIBERlite plots, see Crutzen, Noijen & Peters (2017) <doi:10/ghtfz9>), systematically developing, reporting, and analysing interventions (for example, using Acyclic Behavior Change Diagrams), and reporting about intervention effectiveness (for example, using the Numbers Needed for Change, see Gruijters & Peters (2017) <doi:10/jzkt>), and computing the required sample size (using the Meaningful Change Definition, see Gruijters & Peters (2020) <doi:10/ghpnx8>). This package is especially useful for researchers in the field of behavior change or health psychology and to behavior change professionals such as intervention developers and prevention workers.

Authors:Gjalt-Jorn Peters [aut, cre], Rik Crutzen [ctb], Jeroen Bruinsma [ctb], Stefan Gruijters [ctb]

behaviorchange_25.8.0.tar.gz
behaviorchange_25.8.0.tar.gz(r-4.7-any)behaviorchange_25.8.0.tar.gz(r-4.6-any)
behaviorchange_25.8.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
behaviorchange/json (API)

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

Bug tracker:https://codeberg.org/r-packages/behaviorchange

Pkgdown/docs site:https://behaviorchange.opens.science

Datasets:

On CRAN:

Conda:

3.40 score 10 scripts 506 downloads 36 exports 103 dependencies

Last updated from:6a5e9e503f. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK142
source / vignettesOK226
linux-release-x86_64OK156
wasm-releaseOK145

Exports:abcdapply_graph_themebinaryCIBERcat0CIBERCIBERlitecomplecscomplecs_to_precedeconvert.er.to.thresholdconvert.threshold.to.erdeterminant_selection_tabledeterminantSelectionTable_partialdeterminantStructuredeterminantVardetStructAddVarLabelsdetStructAddVarNamesdetStructCIBERdetStructComputeProductsdetStructComputeScalesdMCDerDataSeqggNNClm_rSq_cinncnntoptspiespotential_for_change_indexrepeatStrrepStrroom_for_improvementsubdeterminantProductssubdeterminantsvecTxtvecTxtQwrapVector

Dependencies:askpassbase64encBiasedUrnbitbit64bslibcachemcellrangerclicliprcpp11crayoncurldata.treeDiagrammeRDiagrammeRsvgdigestdiptestdplyrevaluatefarverfastmapfontawesomefsgarglegenericsggplot2ggrepelggridgesgluegoogledrivegooglesheets4GPArotationgridExtragtablehighrhmshtmltoolshtmlwidgetshttridsigraphisobandjquerylibjsonlitekableExtraknitrlabelinglatticelifecyclemagrittrMatrixmemoisemimeopensslpanderpillarpkgconfigplyrprettyunitsprogresspurrrpwrR6rappdirsRColorBrewerRcppreadrrematchrematch2rlangrmarkdownrmdpartialsrstudioapiS7sassscalesstringistringrSuppDistssvglitesyssystemfontstextshapingtibbletidyrtidyselecttinytextzdbufsutf8uuidV8vctrsviridisviridisLitevisNetworkvroomwithrxfunxml2yamlyum

ABCD: Laagdrempelige Nederlandse Uitleg
Algemene inleiding: XTC | Wat is een interventie? | Gedragsverandering | Waarom mensen doen wat ze doen | De 'reasoned action approach' | Attitude | Waargenomen norm | Waargenomen gedragscontrole | Andere theorieën over gedrag | Leren | Toepassingen | Effectieve gedragsverandering | ABCDs | ABCD matrix | Voorbeeld: XTC-gebruik | ABCD diagram | Conclusie | Referenties

Last update: 2023-03-04
Started: 2019-01-17

Creating a COMPLECS overview
Background | The anatomy of a COMPLECS specification | Preparing Google Sheets for data export | Generating the COMPLECS overview

Last update: 2021-07-23
Started: 2020-03-01

Determinant Selection Tutorial
Unsorted Confidence Interval-Based Estimation of Relevance plot | Sorted Confidence Interval-Based Estimation of Relevance plot | Determinant Selection Table

Last update: 2021-07-23
Started: 2021-07-23

The Determinant Selection Table

Last update: 2021-07-23
Started: 2021-03-15

Acyclic Behavior Change Diagrams
Background | Example | Practical Guide | Creating an ABCD matrix | Creating an Acyclic Behavior Change Diagram | Example screenshots from the online app | Importing the ABCD matrix | Verifying the imported ABCD matrix | Generating the Acyclic Behavior Change Diagram | References

Last update: 2020-10-21
Started: 2019-01-17

Readme and manuals

Help Manual

Help pageTopics
Acyclic Behavior Change Diagramabcd print.abcdiagram
Simple example datasets for ABCDsabcd_specification_empty abcd_specification_example_xtc abcd_specs_complete abcd_specs_dutch_xtc abcd_specs_examples abcd_specs_single_po_without_conditions abcd_specs_without_conditions
Apply multiple DiagrammeR global graph attributesapply_graph_theme
Concatenate to screen without spacescat0
Confidence Interval-Based Estimation of Relevance (CIBER)binaryCIBER CIBER detStructCIBER
CIBERliteCIBERlite
Create a COMPLECS graphcomplecs print.complecs
Represent a COMPLECS specification as a PRECEDE modelcomplecs_to_precede
Visualising Numbers Needed for Changeconvert.er.to.threshold convert.threshold.to.er erDataSeq ggNNC nncvis
Potential for Change Index and the Determinant Selection TabledeterminantSelectionTable_partial determinant_selection_table intervention_potential knit_print.determinantSelectionTable potential_for_change_index print.determinantSelectionTable P_delta room_for_improvement
Determinant Structure specificationdeterminantStructure determinantVar plot.determinantStructure print.determinantStructure subdeterminantProducts subdeterminants
Functions to preprocess determinant structuresdetStructAddVarLabels detStructAddVarNames detStructComputeProducts detStructComputeScales detStructPreprocessing
Estimate Cohen's d corresponding to a Meaningful Change DefinitiondMCD print.dMCD
Obtaining an R squared confidence interval estimate for an lm regressionlm_rSq_ci
Numbers Needed for Changennc nnt print.nnc
Options for the behaviorchange packageget opts reset set
Subsets of Party Panel datasetsBBC_data BBC_pp15.1 BBC_pp16.1 BBC_pp17.1 BBC_pp18.1 partypanelData
Practically Important Effect Sizespies
Repeat a string a number of timesrepeatStr repStr
Easily parse a vector into a character valuevecTxt vecTxtQ
Wrap all elements in a vectorwrapVector