Skip to contents

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
yes_pct()
Yes and percent

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
ca_counties
California counties
campuses
California public higher education campuses
toss_feedback
Unhelpful feedback
calfresh_spellings
CalFresh spelling variants
addPackageSnippets()
Export snippets