knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
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.
Install tidycomm from CRAN:
install.packages("tidycomm")
Or install the most recent development version of tidycomm with:
remotes::install_github("joon-e/tidycomm")
library(tidycomm)
tidycomm functions follow the style and syntax of the tidyverse functions:
tibble
as their first argumenttibble
as well, so they can be easily integrated into pipestibble
columns) are passed to function calls directly as symbolsWoJ %>% # 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.