Package: behaviorchange 0.5.5

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], Stefan Gruijters [ctb]

behaviorchange_0.5.5.tar.gz
behaviorchange_0.5.5.tar.gz(r-4.5-noble)behaviorchange_0.5.5.tar.gz(r-4.4-noble)
behaviorchange_0.5.5.tgz(r-4.4-emscripten)behaviorchange_0.5.5.tgz(r-4.3-emscripten)
behaviorchange.pdf |behaviorchange.html
behaviorchange/json (API)

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

Peer review:

Bug tracker:https://gitlab.com/r-packages/behaviorchange

Datasets:

3.40 score 9 scripts 386 downloads 36 exports 107 dependencies

Last updated 2 years agofrom:748bf4d305. Checks:OK: 1 NOTE: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 30 2024
R-4.5-linuxNOTEOct 30 2024

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

Dependencies:askpassbase64encBiasedUrnbitbit64bslibcachemcellrangerclicliprcolorspacecpp11crayoncurldata.treeDiagrammeRDiagrammeRsvgdigestdiptestdplyrevaluatefansifarverfastmapfontawesomefsgarglegenericsggplot2ggrepelggridgesgluegoogledrivegooglesheets4GPArotationgridExtragtablehighrhmshtmltoolshtmlwidgetshttridsigraphisobandjquerylibjsonlitekableExtraknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmeopensslpanderpillarpkgconfigplyrprettyunitsprogresspurrrpwrR6rappdirsRColorBrewerRcppreadrrematchrematch2rlangrmarkdownrmdpartialsrstudioapisassscalesstringistringrSuppDistssvglitesyssystemfontstibbletidyrtidyselecttinytextzdbufsutf8uuidV8vctrsviridisviridisLitevisNetworkvroomwithrxfunxml2yamlyum

ABCD: Laagdrempelige Nederlandse Uitleg

Rendered fromabcd-laagdrempelige_nederlandse_uitleg.Rmdusingknitr::rmarkdownon Oct 30 2024.

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

Acyclic Behavior Change Diagrams

Rendered fromabcd.Rmdusingknitr::rmarkdownon Oct 30 2024.

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

Creating a COMPLECS overview

Rendered fromcomplecs.Rmdusingknitr::rmarkdownon Oct 30 2024.

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

Determinant Selection Tutorial

Rendered fromdeterminant-selection-tutorial.Rmdusingknitr::rmarkdownon Oct 30 2024.

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

The Determinant Selection Table

Rendered fromdeterminant-selection-table.Rmdusingknitr::rmarkdownon Oct 30 2024.

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

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