Learn R Programming

SSDforR (version 2.1)

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.1

License

GPL (>= 2)

Maintainer

Charles Auerbach

Last Published

June 18th, 2025

Functions in SSDforR (2.1)

ABttest

T-test comparing phases
ABplot

Simple line graph
ABstat

Add statistic line(s)
ABtext

Add text to graph
ABrf2

Lag-1 autocorrelation (rf2 for small sample size)
GABttest

T-test for group data
Effectsize

Effect size
NAPbelow

Non-Overlap of All Pairs (NAP) calculation
GABrf2

Autocorrelation for group data
NAPabove

Non-Overlap of All Pairs (NAP) calculation
Aregres

Regression for single phase
Append

Append data sets with additional data
Gindex

G-index
Arimama

Moving average for ARIMA
PNDbelow

PND - desired values below the reference line
IRDabove

Improvement Rate Difference (IRD) calculation
PEMbelow

PEM - desired values below the reference line
Arimadiff

Difference for ARIMA
IRDbelow

Improvement Rate Difference (IRD) calculation
ABrobust

Robust regression
Cchart

SPC C-chart
Arobust

Robust regression for a single phase
PEMabove

PEM - desired values above the reference line
PANDlegend

PAND legend
RSTrimline

Trimmed mean line added to ABplot
RMlines

Draws line. For use with Rmarkdown
Gline

Goal Line
SPClegend

SPC legend
SPCline

Draw line on Rchartsd Rchart
Gmedian

Median line for group data
IQRbandgraph

Interquartile band graph for one phase
PNDlegend

PND legend
RSarrow

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

List of all functions in SSD for R
Savecsv

Save data file
Pchart

SPC P-chart
RStext

Add non interactive text to graph.
RSstat

Add statistic line(s) for RMarkdown
SD2legend

SD2 legend
SD2

2-standard deviation band graph
RSlines

Draws line. For use with Rmarkdown
Rchartsd

SPC R-chart using standard deviation
Rchart

SPC R-chart using mean range
SDAband

Adds standard deviation bands to an ABplot
RMstat

Add statistic line(s) for RMarkdown
SD1legend

SD1 legend
SD1

1-standard deviation band graph
RSlinesD

Draws line. For use with Rmarkdown
CDCbelow

Conservative Dual Criteria (CDC) desired zone below lines
XRchart

SPC XR-Chart
Trimline

Trimmed mean line added to ABplot
diffchart

Difference transformation
Getcsv

Import .csv file
IQRlegend

IQR legend
SN

Scientific notation
TauUabove

TAU_U - Calculates Tau U index increase is desired
metareg

Meta Regression
IQRline

IQR line for ABplot
meanabove

Chi-square - desired values above the mean
RMGline

Goal Line for Rmarkdown
PNDabove

PND - desired values above the reference line
TauUbelow

TAU_U - Calculates Tau U index decrease is desired
medabove

Chi-square - desired values above the median
RobustCDCbelow

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

Chi-square - desired values above the trimmed mean
RMtext

Add text to graph. For use with Rmarkdown
medbelow

Chi-square - desired values below the median
trimbelow

Chi-square - desired values below the trimmed mean
metaregi

Meta Regression with Moderator
RMarrow

Draw arrow on graph. For use with Rmarkdown.
Xmrchart

SPC XMR-chart
regabove

Chi-square - desired values above regression line
listnames

List variable names
insert

insert
RSIQRline

IQR line for ABplot for window or Posit cloud
CDCabove

Conservative Dual Criteria (CDC) desired zone above lines
sd1bandgraph

1-standard deviation band graph for one phase
trendtests

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

2-standard deviation band graph for one phase
meanNAP

Mean Effect Size
robregbelow

Chi-square - desired values below robust regression line
meanES

Mean Effect Size
PANDabove

PAND - desired values above the reference line
meanbelow

Chi-square - desired values below the mean
PANDbelow

PAND - desired values below the reference line
regbelow

Chi-square - desired values below regression line
robregabove

Chi-square - desired values above robust regression line
RobustCDCabove

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

PEM legend
plotnum

Set graphic environment