Skip to contents

Data Generators

lfast()
Synthesise rating-scale data with predefined mean and standard deviation
lcor()
Rearrange elements in each column of a data-frame to fit a predefined correlation matrix
makeItems()
Synthesise rating-scale data with given first and second moments and a predefined correlation matrix
correlateScales()
Create a dataframe of correlated scales from different dataframes of scale items
makeItemsScale()
Generate scale items from a summated scale, with desired Cronbach's Alpha
makePaired()
Synthesise a dataset from paired-sample t-test summary statistics

Correlation matrices

makeCorrAlpha()
Correlation matrix from Cronbach's Alpha
makeCorrLoadings()
Correlation matrix from item factor loadings

Helper functions

alpha()
Calculate Cronbach's Alpha from a correlation matrix or dataframe
eigenvalues()
calculate eigenvalues of a correlation matrix with optional scree plot

Deprecated functions

lexact()
Deprecated. Use lfast() instead