`install.packages('expss')`

9,052

0.11.4

GPL (>= 2)

November 5th, 2022

add_rows

Add rows to data.frame/matrix/table

add_columns

Add columns to data.frame.

as.labelled

Recode vector into numeric vector with value labels

expss.options

Options for controlling behavior of the package

fctr

Convert labelled variable to factor

count_if

Count/sum/average/other functions on values that meet a criterion

drop_empty_rows

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

compute

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

cross_fun

Cross-tabulation with custom summary function.

do_repeat

Repeats the same transformations on a specified set of variables/values

cross_cases

Cross tabulation with support of labels, weights and multiple response variables.

expss

expss: Tables with Labels and Some Useful Functions from Spreadsheets and SPSS Statistics

criteria

Criteria functions

if_na

Replace values with NA and vice-versa

merge.etable

Merge two tables/data.frames

keep

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

mrset

Create multiple response set/multiple dichotomy set from variables

info

Provides variables description for dataset

fre

Simple frequencies with support of labels, weights and multiple response variables.

names2labels

Replace data.frame/list names with corresponding variables labels.

name_dots

Bug workaround

match_row

Match finds value in rows or columns/index returns value by index from rows or columns

htmlTable.etable

Outputting HTML tables in RStudio viewer/R Notebooks

reexports

Objects exported from other packages

prop

Compute proportions from numeric vector/matrix/data.frame

prepend_values

Prepend values/variable names to value/variable labels

nest

Compute nested variable(-s) from several variables

qc

Create vector of characters from unquoted strings (variable names)

net

Add subtotal to a set of categories

recode

Change, rearrange or consolidate the values of an existing or new variable. Inspired by the RECODE command from SPSS.

read_spss

Read an SPSS Data File

set_caption

Add caption to the table

product_test

Data from product test of chocolate confectionary

sort_asc

Sort data.frames/matrices/vectors

tab_sort_asc

Partially (inside blocks) sort tables/data.frames

tab_significance_options

Mark significant differences between columns in the table

split_labels

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

tables

Functions for custom tables construction

unlab

Drop variable label and value labels

text_to_columns

Make data.frame from text

sheet

Make data.frame without conversion to factors and without fixing names

sum_row

Compute sum/mean/sd/median/max/min/custom function on rows/columns

split_by

Splits data.frame into list of data.frames that can be analyzed separately

var_lab

Set or get variable label

weight_by

Create dataset according to its frequency weights

values2labels

Replace vector/matrix/data.frame/list values with corresponding value labels.

where

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

vars

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

val_lab

Set or get value labels

vectors

Infix operations on vectors - append, diff, intersection, union, replication

w_mean

Compute various weighted statistics

xl_write

Write tables and other objects to an xlsx file with formatting

window_fun

Function over grouping variables (window function)

write_labelled_csv

Write labelled data to file or export file to SPSS syntax.

compare_proportions

Calculate significance (p-values) of differences between proportions/means

as_huxtable.etable

Convert table to huxtable

apply_labels

Set variable labels/value labels on variables in the data.frame

as.category

Convert dichotomy data.frame/matrix to data.frame with category encoding

as.datatable_widget

Create an HTML table widget for usage with Shiny

as.dichotomy

Convert variable (possibly multiple choice question) to data.frame/matrix of dummy variables.

as.etable

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