## All functions

CECPfuns-package

CECPfuns: Package of Utility Functions for Psychological Therapies, Mental Health and Well-being Work (Created by Chris Evans and Clara Paz)

checkAllUnique()

Function to check all values of a vector or data frame/tibble column are unique

classifyScoresVectorByRCI()

Function to classify changes using the RCI paradigm

convert2CEdate() converToCEdate()

Function to convert Dates to my date format strings

convertVector2sentence() convertVectorToSentence()

Function that converts a vector to an English language list: e.g. 1:3 becomes 1, 2 and 3

getBootCICSC()

Title Function designed for use in dplyr (tidyverse) piping to return CSC and bootstrap CI around that

getBootCICorr()

Function to return observed correlation between two variables with bootstrap CI

getBootCIalpha()

function returning observed Cronbach alpha with bootstrap confidence interval around that value

getBootCImean()

Function to return bootstrap CI around observed mean

getCSC()

Function to return Jacobson (et al.) Clinically Significant Change (CSC)

getChronbachAlpha()

Simple function to return Cronbach's alpha

getICCfromMLM()

Get ICC for levels in multilevel models

getNNA()

Trivial function to count number of NA values in input

getNOK()

Trivial function to count number of non-NA values in input

getRCIfromSDandAlpha()

Function returns RCI given baseline score SD, reliability and confidence sought

getRelBySpearmanBrown()

Function using the Spearman-Brown formula to predict reliability for new length or get length for desired reliability

hyphenateWords()

Function to convert numbers to hyphenated (English) words, e.g. 87 to "eighty-seven"

isOneToOne() checkIsOneToOne()

Data checking function to check if the contents of two variables have a 1:1 mapping

plotBinconf() plotCIProportion()

Function outputting a plot of confidence interval around a proportion for a range of sample sizes

plotCIcorrelation() plotCIPearson()

Function outputting a plot of confidence interval around a correlation for a range of sample sizes