Learn R Programming

SSDforR (version 2.0)

Functions to Analyze Single System Data

Description

Functions to visually and statistically analyze single system data.

Copy Link

Version

Install

install.packages('SSDforR')

Monthly Downloads

492

Version

2.0

License

GPL (>= 2)

Maintainer

Charles Auerbach

Last Published

June 2nd, 2025

Functions in SSDforR (2.0)

ABstat

Add statistic line(s)
ABtext

Add text to graph
ABttest

T-test comparing phases
ABrobust

Robust regression
Arobust

Robust regression for a single phase
Arimama

Moving average for ARIMA
Cchart

SPC C-chart
Arimadiff

Difference for ARIMA
GABttest

T-test for group data
Getcsv

Import .csv file
Gline

Goal Line
Gindex

G-index
IRDbelow

Improvement Rate Difference (IRD) calculation
IRDabove

Improvement Rate Difference (IRD) calculation
Effectsize

Effect size
IQRbandgraph

Interquartile band graph for one phase
NAPbelow

Non-Overlap of All Pairs (NAP) calculation
NAPabove

Non-Overlap of All Pairs (NAP) calculation
ABplot

Simple line graph
GABrf2

Autocorrelation for group data
Gmedian

Median line for group data
ABplotm

Multiple line plot
ABregres

OLS regression to compare phases
RMstat

Add statistic line(s) for RMarkdown
Append

Append data sets with additional data
PEMabove

PEM - desired values above the reference line
PANDlegend

PAND legend
PEMbelow

PEM - desired values below the reference line
RMlines

Draws line. For use with Rmarkdown
IQRlegend

IQR legend
Aregres

Regression for single phase
PNDbelow

PND - desired values below the reference line
RSTrimline

Trimmed mean line added to ABplot
Pchart

SPC P-chart
PNDlegend

PND legend
RSarrow

Draw arrow on graph. For use with no interactive.
RStext

Add non interactive text to graph.
SSDforR

List of all functions in SSD for R
Savecsv

Save data file
RSstat

Add statistic line(s) for RMarkdown
RSIQRline

IQR line for ABplot for window or Posit cloud
RMtext

Add text to graph. For use with Rmarkdown
SD1legend

SD1 legend
SD1

1-standard deviation band graph
TauUabove

TAU_U - Calculates Tau U index increase is desired
TauUbelow

TAU_U - Calculates Tau U index decrease is desired
IQRline

IQR line for ABplot
RMarrow

Draw arrow on graph. For use with Rmarkdown.
Trimline

Trimmed mean line added to ABplot
XRchart

SPC XR-Chart
RSlines

Draws line. For use with Rmarkdown
RMGline

Goal Line for Rmarkdown
SN

Scientific notation
SDAband

Adds standard deviation bands to an ABplot
insert

insert
metareg

Meta Regression
metaregi

Meta Regression with Moderator
Rchart

SPC R-chart using mean range
medbelow

Chi-square - desired values below the median
medabove

Chi-square - desired values above the median
listnames

List variable names
PANDabove

PAND - desired values above the reference line
robregabove

Chi-square - desired values above robust regression line
PANDbelow

PAND - desired values below the reference line
regbelow

Chi-square - desired values below regression line
RSlinesD

Draws line. For use with Rmarkdown
meanbelow

Chi-square - desired values below the mean
meanabove

Chi-square - desired values above the mean
SD2

2-standard deviation band graph
diffchart

Difference transformation
CDCbelow

Conservative Dual Criteria (CDC) desired zone below lines
SD2legend

SD2 legend
PNDabove

PND - desired values above the reference line
robregbelow

Chi-square - desired values below robust regression line
SPCline

Draw line on Rchartsd Rchart
Rchartsd

SPC R-chart using standard deviation
PEMlegend

PEM legend
SPClegend

SPC legend
RobustCDCabove

Robust Conservative Dual Criteria (CDC) using robust regression desired zone above lines
plotnum

Set graphic environment
trimabove

Chi-square - desired values above the trimmed mean
regabove

Chi-square - desired values above regression line
trimbelow

Chi-square - desired values below the trimmed mean
meanES

Mean Effect Size
RobustCDCbelow

Robust Conservative Dual Criteria (CDC) using robust regression desired zone below lines
sd1bandgraph

1-standard deviation band graph for one phase
sd2bandgraph

2-standard deviation band graph for one phase
CDCabove

Conservative Dual Criteria (CDC) desired zone above lines
Xmrchart

SPC XMR-chart
meanNAP

Mean Effect Size
trendtests

Tau Trend test and Sen's slope test for single phase
ABanova

Analysis of variance
ABdescrip

Descriptive Statistics
ABautoacf

Autocorrelation at any lag for a phase
ABWilcox

Wilcoxon rank-sum test between two phases
ABautopacf

Partial autocorrelation
ABbinomial

Binomial test
ABiqr

Interquartile band graph through all phases
ABarrow

Draw arrow on graph
ABlines

Draw line
ABlineD

Add dashed line to a graph
ABma

Moving average
ABtsplot

Time series plot for SSD Data
ABrf2

Lag-1 autocorrelation (rf2 for small sample size)