add_ids | Adds an id column to a given variable. |
add_prefix_to_table_names | Adds a prefix to the names of a table. |
apply_over_vars | Apply a function over variables in a dataframe. |
breakdown | Breakdown values of a variable by the number of people who... |
chisq_test | Reformat stats::chisq.test to accept inputs as two vectors. |
comparison_table | Compares a variable across a group, both visually and with an... |
count_vars | Count the amount of a particlar response that respondents... |
cut3 | Split a vector into bins. |
data_summary | Prints a summary of the dataframe. |
drop_na_cols | Drops columns from the dataframe that meet a certain... |
drop_values | Drop values from a variable. |
fish_for_correlations | Fish the entire dataframe for correlations. Many will be... |
get_names | Gets the names of a dplyr postgres table. |
get_vars | Get the names from a dataframe that match a pattern. |
grapes-not_in-grapes | An infix operator for determining if values are not in a... |
ignore_by_grep | Drops all columns that match lists of regex strings. |
is.na_like | Determines if something is NA or NA-like (blank, the string... |
na.rm | Deletes all NA and NA-like values from a vector. |
nas_are_zeros | Convert all NAs in a vector to 0. |
num_answers | Calculates the number of people that answered a particular... |
num_na | Calculate the number of NAs in a variable. |
num_over_zero | Calculate the number of positive values in a variable. |
num_respondents | Calculates the number of total respondents in a dataframe.... |
print.comparison_table | Print the table without annoyingly displaying the class. |
replace | Replace a value within a dataframe. |
response_rate | Calculates the response rate to a particular question.... |
reverse_code | Reverse code a variable. |
sort.tab | Sort a tab. When both frequencies and percentages are... |
summary_csv | Creates a CSV file containing summary information on the... |
surveytools2 | surveytools2. |
swap_by_ids | Renames values within a dataframe based on ids. Useful for... |
swap_by_value | Renames values within a dataframe based on a list of swaps to... |
swap_multiple_ids | For all ids specified, sets their value to the assigned value... |
tab | Makes a fancy table, inspired from 'tab' from STATA. |
t_test | Reformat stats::t.test to accept inputs as two vectors. |
var_summary | Prints a summary of the variable. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.