Functions

Data Management

Functions for data management

remove.na.levels()

Remove NA levels in factor variables

to_binary()

Convert Yes/No variables to binary

pnta.unanswered.to.miss()

PNTA to NA

find_dupes()

Finding dupes in pre/post data

Tables

Functions for creating tables

nperc_tbl_MATA()

Creates frequency table

question_table()

Table of counts percentages for single question

Statistics

Functions that produce counts, percents, and other statistics

print_n_reporting()

Number and percent of non-NA entries in a column

count_and_percent()

Creates a string with count and percent

get_perct()

Calculate the percentage of occurrences for a value in a column

Other

Random stuff

y.off()

Function for plot_frq y.offset

bns2_pkg_data

This is data included in the chcRne package

addPackageSnippets()

Export snippets