Data wrangling

adjust() data_adjust()

Adjust data for the effect of other variable(s)

convert_data_to_numeric() data_to_numeric()

Convert data to numeric

data_match()

Find row indices of a data frame matching a specific condition

data_partition()

Partition data into a test and a training set

data_relocate()

Relocate (reorder) columns of a data frame

data_addprefix() data_addsuffix() data_findcols() data_remove() data_rename() data_rename_rows() data_reorder()

Convenient dataframe manipulation functionalities

data_rescale() change_scale()

Rescale Variables to a New Range

data_restoretype()

Restore the type of columns according to a reference data frame

data_to_long() data_to_wide() reshape_longer() reshape_wider()

Reshape (pivot) data from wide to long

data_transpose()

Transpose a dataframe

Data transformation

adjust() data_adjust()

Adjust data for the effect of other variable(s)

center()

Centering (Grand-Mean Centering)

data_rescale() change_scale()

Rescale Variables to a New Range

convert_data_to_numeric() data_to_numeric()

Convert data to numeric

demean() degroup() detrend()

Compute group-meaned and de-meaned variables

normalize()

Normalize numeric variable to 0-1 range

ranktransform()

(Signed) rank transformation

rescale_weights()

Rescale design weights for multilevel analysis

reshape_ci()

Reshape CI between wide/long formats

standardize() unstandardize()

Standardization (Z-scoring)

to_numeric()

Convert to Numeric (if possible)

standardize() unstandardize()

Standardization (Z-scoring)

winsorize()

Winsorize data

Data properties

describe_distribution()

Describe a distribution

skewness() kurtosis() print(<parameters_kurtosis>) print(<parameters_skewness>) summary(<parameters_skewness>) summary(<parameters_kurtosis>)

Compute Skewness and (Excess) Kurtosis

smoothness()

Quantify the smoothness of a vector

skewness() kurtosis() print(<parameters_kurtosis>) print(<parameters_skewness>) summary(<parameters_skewness>) summary(<parameters_kurtosis>)

Compute Skewness and (Excess) Kurtosis

Text formatting

format_text() text_fullstop() text_lastchar() text_concatenate() text_paste() text_remove() text_wrap()

Convenient text formatting functionalities

format_text() text_fullstop() text_lastchar() text_concatenate() text_paste() text_remove() text_wrap()

Convenient text formatting functionalities

Data

nhanes_sample

Sample dataset from the National Health and Nutrition Examination Survey

Visualization helpers

visualisation_recipe()

Prepare objects for visualisation