knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

tidycomm

Lifecycle: experimental CRAN status Codecov test coverage R-CMD-check

Tidycomm provides convenience functions for common tasks in communication research. All functions follow the style and syntax of the tidyverse.

Currently, tidycomm includes functions for various methods of univariate and bivariate data description and analysis, data modification, and intercoder reliability tests.

Installation

Install tidycomm from CRAN:

install.packages("tidycomm")

Or install the most recent development version of tidycomm with:

remotes::install_github("joon-e/tidycomm")

Usage

library(tidycomm)

tidycomm functions follow the style and syntax of the tidyverse functions:

WoJ %>% # Worlds of Journalism sample data
  describe(autonomy_selection, autonomy_emphasis)

Most functions will automatically use all relevant variables in the data if no variables are specified in the function call. For example, to compute descriptive statistics for all numeric variables in the data, just call describe() without further arguments:

WoJ %>% 
  describe()

Likewise, compute intercoder reliability tests for all variables by only specifying the post and coder ID variables:

fbposts %>% # Facebook post codings sample data
  test_icr(post_id, coder_id)

For detailed examples of all available functions, see the documentation website or read the vignettes:

browseVignettes("tidycomm")


joon-e/tidycomm documentation built on Feb. 24, 2024, 8:58 a.m.