Tables with Labels and Some Useful Functions from Spreadsheets and 'SPSS' Statistics

add_rows | Add rows to data.frame/matrix/table |

apply_labels | Set variable labels/value labels on variables in the... |

as.category | Convert dichotomy data.frame/matrix to data.frame with... |

as.datatable_widget | Create an HTML table widget for usage with Shiny |

as.dichotomy | Convert variable (possibly multiple choice question) to... |

as.etable | Convert data.frame/matrix to object of class 'etable' |

as.labelled | Recode vector into numeric vector with value labels |

by_groups | Aggregate dataset by grouping variable(s). |

compare_proportions | Calculate significance (p-values) of differences between... |

count_if | Count/sum/average/other functions on values that meet a... |

criteria | Criteria functions |

cro | Cross tabulation with support of labels, weights and multiple... |

cro_fun | Cross-tabulation with custom summary function. |

default_dataset | Get or set reference to default dataset. Experimental... |

do_repeat | Repeats the same transformations on a specified set of... |

drop_empty_rows | Drop empty (with all NA's) rows/columns from data.frame/table |

experimental | Experimental functions for operations with default dataset |

expss | expss: Tables with Labels and Some Useful Functions from... |

expss.options | Options for controlling behavior of the package |

fctr | Convert labelled variable to factor |

fre | Simple frequencies with support of labels, weights and... |

htmlTable.etable | Outputting HTML tables in RStudio viewer/R Notebooks |

if_na | Replace NA values in vector/data.frame/matrix/list with... |

if_val | Change, rearrange or consolidate the values of an... |

info | Provides variables description for dataset |

keep | Keep or drop elements by name/criteria in data.frame/matrix |

match_row | Match finds value in rows or columns/index returns value by... |

merge.etable | Merge two tables/data.frames |

modify | Modify data.frame/modify subset of the data.frame |

mrset | Create multiple response set/multiple dichotomy set from... |

na_if | Replace certain values with NA |

names2labels | Replace data.frame/list names with corresponding variables... |

nest | Compute nested variable(-s) from several variables |

prepend_values | Prepend values/variable names to value/variable labels |

product_test | Data from product test of chocolate confectionary |

prop | Compute proportions from numeric vector/matrix/data.frame |

qc | Create vector of characters from unquoted strings (variable... |

read_spss | Read an SPSS Data File |

reexports | Objects exported from other packages |

ref | Auxiliary functions to pass arguments to function by... |

set_caption | Add caption to the table |

sheet | Make data.frame without conversion to factors and without... |

significance | Mark significant differences between columns of the table |

sort_asc | Sort data.frames/matrices/vectors |

split_by | Splits data.frame into list of data.frames that can be... |

split_labels | Split character vector to matrix/split columns in data.frame |

sum_row | Compute sum/mean/sd/median/max/min/custom function on... |

tables | Functions for custom tables construction |

tab_sort_asc | Partially (inside blocks) sort tables/data.frames |

text_to_columns | Make data.frame from text |

unlab | Drop variable label and value labels |

val_lab | Set or get value labels |

values2labels | Replace vector/matrix/data.frame/list values with... |

var_lab | Set or get variable label |

vars | Get variables/range of variables by name/by pattern. |

vectors | Infix operations on vectors - append, diff, intersection,... |

vlookup | Look up values in dictionary. |

where | Subset (filter) data.frames/matrices/vectors/lists |

window_fun | Function over grouping variables (window function) |

w_mean | Compute various weighted statistics |

write_labels | Write data with labels to file in R code or in SPSS syntax. |

xl_write | Write tables and other objects to an xlsx file with... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.