tidycomm0.4.2 package

Data Modification and Analysis for Communication Research

add_index

Add index

categorize_scale

Categorize numeric variables into categories

center_scale

Center numeric, continuous variables

correlate

Compute correlation coefficients

crosstab

Crosstab variables

describe

Describe numeric variables

describe_cat

Describe categorical variables

design_gray

Gray design

design_grey

Grey design

design_lmu

Colorbrewer-inspired design with focus on LMU (lmu.de) green

dummify_scale

Convert categorical variables to dummy variables

expand_range

Expand a range with a multiplicative or additive constant

get_reliability

Get reliability estimates of index variables

minmax_scale

Rescale numeric continuous variables to new minimum/maximum boundaries

model

Access model(s) used to estimate output

new_tdcmm

tdcmm output constructor

oob

Out of bounds handling

percentage_labeller

Helper function for labelling purposes

pipe

Pipe operator

recode_cat_scale

Recode one or more categorical variables into new categories

regress

Compute linear regression

rescale

Rescale continuous vector to have specified minimum and maximum

rescale_max

Rescale numeric vector to have specified maximum

rescale_mid

Rescale vector to have specified minimum, midpoint, and maximum

rescale_none

Don't perform rescaling

reverse_scale

Reverse numeric, logical, or date/time continuous variables

setna_scale

Set specified values to NA in selected variables or entire data frame

t_test

Compute t-tests

tab_frequencies

Tabulate frequencies

tab_percentiles

Tabulate percentiles for numeric variables

tdcmm-class

tdcmm class

test_icr

Perform an intercoder reliability test

to_correlation_matrix

Create correlation matrix

unianova

Compute one-way ANOVAs

visualize

Visualize tidycomm output

z_scale

Z-standardize numeric, continuous variables

zero_range

Determine if range of vector is close to zero, with a specified tolera...

Provides convenience functions for common data modification and analysis tasks in communication research. This includes functions for univariate and bivariate data analysis, index generation and reliability computation, and intercoder reliability tests. All functions follow the style and syntax of the tidyverse, and are construed to perform their computations on multiple variables at once. Functions for univariate and bivariate data analysis comprise summary statistics for continuous and categorical variables, as well as several tests of bivariate association including effect sizes. Functions for data modification comprise index generation and automated reliability analysis of index variables. Functions for intercoder reliability comprise tests of several intercoder reliability estimates, including simple and mean pairwise percent agreement, Krippendorff's Alpha (Krippendorff 2004, ISBN: 9780761915454), and various Kappa coefficients (Brennan & Prediger 1981 <doi: 10.1177/001316448104100307>; Cohen 1960 <doi: 10.1177/001316446002000104>; Fleiss 1971 <doi: 10.1037/h0031619>).

  • Maintainer: Julian Unkel
  • License: GPL-3
  • Last published: 2025-08-27