Learn R Programming

rapportools (version 1.1)

Miscellaneous (Stats) Helper Functions with Sane Defaults for Reporting

Description

Helper functions that act as wrappers to more advanced statistical methods with the advantage of having sane defaults for quick reporting.

Copy Link

Version

Install

install.packages('rapportools')

Monthly Downloads

15,845

Version

1.1

License

AGPL-3

Last Published

March 22nd, 2022

Functions in rapportools (1.1)

iqr

Interquartile Range
nmissing

Number of Missing Cases
var

Variance
kurtosis

Kurtosis
median

Median
mean

Mean
is.variable

Variables
univar

Descriptive Statistics
lambda.test

Goodman and Kruskal's lambda
max

Maximum
skewness

Skewness
nvalid

Number of Valid Cases
strwidthest

Estimate string width
stopf

Stop Execution with String Interpolated Messages
min

Minimum
catn

Concatenate with newline
is.number

Numbers
is.empty

Empty Value
capitalise

Capitalise String
messagef

Send Message with String Interpolated Messages
range

Range
vgsub

Vectorised String Replacement
rp.desc

Descriptive Statistics
sum

Sum
warningf

Send Warning with String Interpolated Messages
is.tabular

Tabular Structure
name

Variable Name
n

Number of Cases
label

Get Variable Label
label<-

Set Variable Label
pct

Percent
percent

Percent
rp.outlier

Outlier test
rp.freq

Frequency Table
sd

Standard Deviation
se.mean

Standard Error of Mean
tocamel

CamelCase
synonym

Synonym
synonyms

Get or set synonyms list
trim.space

Trim Spaces
fraction.to.string

A fraction in ordinary English language
fml

Create Formula from Strings
adj.rle

Adjacent Values Run Length Encoding
alike.integer

Check integers
is.boolean

Boolean
htest

Hypothesis Tests
htest.short

Extract Values from htest Objects
is.string

Strings