# stats v3.2.4

## The R Stats Package

R statistical functions.

## Functions in stats

Name | Description | |

anova | Anova Tables | |

aggregate | Compute Summary Statistics of Data Subsets | |

acf | Auto- and Cross- Covariance and -Correlation Function Estimation | |

anova.glm | Analysis of Deviance for Generalized Linear Model Fits | |

add1 | Add or Drop All Possible Single Terms to a Model | |

AIC | Akaike's An Information Criterion | |

addmargins | Puts Arbitrary Margins on Multidimensional Tables or Arrays | |

anova.lm | ANOVA for Linear Model Fits | |

acf2AR | Compute an AR Process Exactly Fitting an ACF | |

alias | Find Aliases (Dependencies) in a Model | |

arima0 | ARIMA Modelling of Time Series -- Preliminary Version | |

anova.mlm | Comparisons between Multivariate Linear Models | |

arima | ARIMA Modelling of Time Series | |

arima.sim | Simulate from an ARIMA Model | |

ansari.test | Ansari-Bradley Test | |

aov | Fit an Analysis of Variance Model | |

ar.ols | Fit Autoregressive Models to Time Series by OLS | |

ARMAacf | Compute Theoretical ACF for an ARMA Process | |

approxfun | Interpolation Functions | |

ar | Fit Autoregressive Models to Time Series | |

biplot | Biplot of Multivariate Data | |

ARMAtoMA | Convert ARMA Process to Infinite MA Process | |

ave | Group Averages Over Level Combinations of Factors | |

binom.test | Exact Binomial Test | |

bandwidth | Bandwidth Selectors for Kernel Density Estimation | |

Binomial | The Binomial Distribution | |

asOneSidedFormula | Convert to One-Sided Formula | |

Beta | The Beta Distribution | |

as.hclust | Convert Objects to Class hclust | |

bartlett.test | Bartlett Test of Homogeneity of Variances | |

Box.test | Box-Pierce and Ljung-Box Tests | |

Cauchy | The Cauchy Distribution | |

biplot.princomp | Biplot for Principal Components | |

Chisquare | The (non-central) Chi-Squared Distribution | |

cmdscale | Classical (Metric) Multidimensional Scaling | |

cancor | Canonical Correlations | |

birthday | Probability of coincidences | |

case+variable.names | Case and Variable Names of Fitted Models | |

.checkMFClasses | Functions to Check the Type of Variables passed to Model Frames | |

chisq.test | Pearson's Chi-squared Test for Count Data | |

confint | Confidence Intervals for Model Parameters | |

convolve | Convolution of Sequences via FFT | |

contrast | (Possibly Sparse) Contrast Matrices | |

contrasts | Get and Set Contrast Matrices | |

coef | Extract Model Coefficients | |

cophenetic | Cophenetic Distances for a Hierarchical Clustering | |

cor.test | Test for Association/Correlation Between Paired Samples | |

complete.cases | Find Complete Cases | |

cor | Correlation, Variance and Covariance (Matrices) | |

constrOptim | Linearly Constrained Optimization | |

df.residual | Residual Degrees-of-Freedom | |

cpgram | Plot Cumulative Periodogram | |

cutree | Cut a Tree into Groups of Data | |

cov.wt | Weighted Covariance Matrices | |

delete.response | Modify Terms Objects | |

decompose | Classical Seasonal Decomposition by Moving Averages | |

deriv | Symbolic and Algorithmic Derivatives of Simple Expressions | |

density | Kernel Density Estimation | |

dendrapply | Apply a Function to All Nodes of a Dendrogram | |

deviance | Model Deviance | |

expand.model.frame | Add new variables to a model frame | |

extractAIC | Extract AIC from a Fitted Model | |

effects | Effects from Fitted Model | |

eff.aovlist | Compute Efficiencies of Multistratum Analysis of Variance | |

ecdf | Empirical Cumulative Distribution Function | |

embed | Embedding a Time Series | |

dummy.coef | Extract Coefficients in Original Coding | |

Distributions | Distributions in the stats package | |

diffinv | Discrete Integration: Inverse of Differencing | |

dist | Distance Matrix Computation | |

fitted | Extract Model Fitted Values | |

fivenum | Tukey Five-Number Summaries | |

GammaDist | The Gamma Distribution | |

is.empty.model | Test if a Model's Formula is Empty | |

Geometric | The Geometric Distribution | |

IQR | The Interquartile Range | |

FDist | The F Distribution | |

fft | Fast Discrete Fourier Transform (FFT) | |

getInitial | Get Initial Parameter Estimates | |

glm.control | Auxiliary for Controlling GLM Fitting | |

kernapply | Apply Smoothing Kernel | |

kernel | Smoothing Kernel Objects | |

factor.scope | Compute Allowed Changes in Adding to or Dropping from a Formula | |

Hypergeometric | The Hypergeometric Distribution | |

HoltWinters | Holt-Winters Filtering | |

family | Family Objects for Models | |

isoreg | Isotonic / Monotone Regression | |

KalmanLike | Kalman Filtering | |

listof | A Class for Lists of (Parts of) Model Fits | |

line | Robust Line Fitting | |

filter | Linear Filtering on a Time Series | |

fisher.test | Fisher's Exact Test for Count Data | |

glm | Fitting Generalized Linear Models | |

influence.measures | Regression Deletion Diagnostics | |

identify.hclust | Identify Clusters in a Dendrogram | |

glm.summaries | Accessing Generalized Linear Model Fits | |

ksmooth | Kernel Regression Smoother | |

ks.test | Kolmogorov-Smirnov Tests | |

loess.control | Set Parameters for Loess | |

loadings | Print Loadings in Factor Analysis | |

loglin | Fitting Log-Linear Models | |

Lognormal | The Log Normal Distribution | |

model.extract | Extract Components from a Model Frame | |

medpolish | Median Polish of a Matrix | |

NegBinomial | The Negative Binomial Distribution | |

oneway.test | Test for Equal Means in a One-Way Layout | |

nextn | Highly Composite Numbers | |

optim | General-purpose Optimization | |

pairwise.t.test | Pairwise t tests | |

pairwise.table | Tabulate p values for pairwise comparisons | |

kmeans | K-Means Clustering | |

lm.influence | Regression Diagnostics | |

kruskal.test | Kruskal-Wallis Rank Sum Test | |

lowess | Scatter Plot Smoothing | |

lm | Fitting Linear Models | |

model.tables | Compute Tables of Results from an Aov Model Fit | |

model.matrix | Construct Design Matrices | |

ls.diag | Compute Diagnostics for lsfit Regression Results | |

na.contiguous | Find Longest Contiguous Stretch of non-NAs | |

formula.nls | Extract Model Formula from nls Object | |

friedman.test | Friedman Rank Sum Test | |

heatmap | Draw a Heat Map | |

hclust | Hierarchical Clustering | |

lag.plot | Time Series Lag Plots | |

lag | Lag a Time Series | |

manova | Multivariate Analysis of Variance | |

makepredictcall | Utility Function for Safe Prediction | |

naresid | Adjust for Missing Values | |

mantelhaen.test | Cochran-Mantel-Haenszel Chi-Squared Test for Count Data | |

mauchly.test | Mauchly's Test of Sphericity | |

naprint | Adjust for Missing Values | |

NLSstClosestX | Inverse Interpolation | |

NLSstAsymptotic | Fit the Asymptotic Regression Model | |

plot.acf | Plot Autocovariance and Autocorrelation Functions | |

pairwise.wilcox.test | Pairwise Wilcoxon Rank Sum Tests | |

lm.summaries | Accessing Linear Model Fits | |

lm.fit | Fitter Functions for Linear Models | |

mcnemar.test | McNemar's Chi-squared Test for Count Data | |

nobs | Extract the Number of Observations from a Fit. | |

median | Median Value | |

Normal | The Normal Distribution | |

p.adjust | Adjust P-values for Multiple Comparisons | |

plot.spec | Plotting Spectral Densities | |

pairwise.prop.test | Pairwise comparisons for proportions | |

plot.stepfun | Plot Step Functions | |

power.t.test | Power calculations for one and two sample t tests | |

predict.smooth.spline | Predict from Smoothing Spline Fit | |

PP.test | Phillips-Perron Test for Unit Roots | |

prop.trend.test | Test for trend in proportions | |

preplot | Pre-computations for a Plotting Object | |

qqnorm | Quantile-Quantile Plots | |

replications | Number of Replications of Terms | |

smoothEnds | End Points Smoothing (for Running Medians) | |

reshape | Reshape Grouped Data | |

smooth.spline | Fit a Smoothing Spline | |

prcomp | Principal Components Analysis | |

predict.Arima | Forecast from ARIMA fits | |

print.ts | Printing and Formatting of Time-Series Objects | |

printCoefmat | Print Coefficient Matrices | |

profile | Generic Function for Profiling Models | |

profile.nls | Method for Profiling nls Objects | |

smooth | Tukey's (Running Median) Smoothing | |

SignRank | Distribution of the Wilcoxon Signed Rank Statistic | |

spectrum | Spectral Density Estimation | |

fligner.test | Fligner-Killeen Test of Homogeneity of Variances | |

ftable.formula | Formula Notation for Flat Contingency Tables | |

formula | Model Formulae | |

integrate | Integration of One-Dimensional Functions | |

ftable | Flat Contingency Tables | |

interaction.plot | Two-way Interaction Plot | |

mahalanobis | Mahalanobis Distance | |

make.link | Create a Link for GLM Families | |

monthplot | Plot a Seasonal or other Subseries from a Time Series | |

mood.test | Mood Two-Sample Test of Scale | |

Multinom | The Multinomial Distribution | |

na.action | NA Action | |

plot.isoreg | Plot Method for isoreg Objects | |

plot.lm | Plot Diagnostics for an lm Object | |

predict | Model Predictions | |

predict.lm | Predict method for Linear Model Fits | |

r2dtable | Random 2-way Tables with Given Marginals | |

read.ftable | Manipulate Flat Contingency Tables | |

rWishart | Random Wishart Distributed Matrices | |

setNames | Set the Names in an Object | |

scatter.smooth | Scatter Plot with Smooth Curve Fitted by Loess | |

splinefun | Interpolating Splines | |

SSlogis | Self-Starting Nls Logistic Model | |

stl | Seasonal Decomposition of Time Series by Loess | |

SSmicmen | Self-Starting Nls Michaelis-Menten Model | |

stlmethods | Methods for STL Objects | |

ts | Time-Series Objects | |

ts.plot | Plot Multiple Time Series | |

Uniform | The Uniform Distribution | |

uniroot | One Dimensional Root (Zero) Finding | |

Logistic | The Logistic Distribution | |

logLik | Extract Log-Likelihood | |

lsfit | Find the Least Squares Fit | |

ls.print | Print lsfit Regression Results | |

nlm | Non-Linear Minimization | |

nls.control | Control the Iterations in nls | |

NLSstLfAsymptote | Horizontal Asymptote on the Left Side | |

NLSstRtAsymptote | Horizontal Asymptote on the Right Side | |

optimize | One Dimensional Optimization | |

order.dendrogram | Ordering or Labels of the Leaves in a Dendrogram | |

na.fail | Handle Missing Values in Objects | |

offset | Include an Offset in a Model Formula | |

numericDeriv | Evaluate Derivatives Numerically | |

plot.density | Plot Method for Kernel Density Estimation | |

plot.HoltWinters | Plot function for HoltWinters objects | |

plot.ts | Plotting Time-Series Objects | |

Poisson | The Poisson Distribution | |

power | Create a Power Link Object | |

power.prop.test | Power Calculations for Two-Sample Test for Proportions | |

princomp | Principal Components Analysis | |

poisson.test | Exact Poisson tests | |

ppoints | Ordinates for Probability Plotting | |

power.anova.test | Power Calculations for Balanced One-Way Analysis of Variance Tests | |

predict.loess | Predict Loess Curve or Surface | |

ppr | Projection Pursuit Regression | |

predict.nls | Predicting from Nonlinear Least Squares Fits | |

prop.test | Test of Equal or Given Proportions | |

proj | Projections of Models | |

rect.hclust | Draw Rectangles Around Hierarchical Clusters | |

relevel | Reorder Levels of Factor | |

spec.pgram | Estimate Spectral Density of a Time Series by a Smoothed Periodogram | |

spec.taper | Taper a Time Series by a Cosine Bell | |

SSfpl | Self-Starting Nls Four-Parameter Logistic Model | |

SSgompertz | Self-Starting Nls Gompertz Growth Model | |

summary.aov | Summarize an Analysis of Variance Model | |

StructTS | Fit Structural Time Series | |

terms | Model Terms | |

terms.formula | Construct a terms Object from a Formula | |

tsp | Tsp Attribute of Time-Series-like Objects | |

print.power.htest | Print Methods for Hypothesis Tests and Power Calculation Objects | |

tsSmooth | Use Fixed-Interval Smoothing on Time Series | |

quade.test | Quade Test | |

quantile | Sample Quantiles | |

screeplot | Screeplots | |

reorder.default | Reorder Levels of a Factor | |

reorder.dendrogram | Reorder a Dendrogram | |

SSasymp | Self-Starting Nls Asymptotic Regression Model | |

sd | Standard Deviation | |

SSasympOff | Self-Starting Nls Asymptotic Regression Model with an Offset | |

var.test | F Test to Compare Two Variances | |

varimax | Rotation Methods for Factor Analysis | |

weighted.mean | Weighted Arithmetic Mean | |

weighted.residuals | Compute Weighted Residuals | |

SSweibull | Self-Starting Nls Weibull Growth Curve Model | |

spec.ar | Estimate Spectral Density of a Time Series from AR Fit | |

sortedXyData | Create a sortedXyData Object | |

start | Encode the Terminal Times of Time Series | |

step | Choose a model by AIC in a Stepwise Algorithm | |

symnum | Symbolic Number Coding | |

stepfun | Step Functions - Creation and Class | |

t.test | Student's t-Test | |

ts.union | Bind Two or More Time Series | |

tsdiag | Diagnostic Plots for Time-Series Fits | |

SSasympOrig | Self-Starting Nls Asymptotic Regression Model through the Origin | |

shapiro.test | Shapiro-Wilk Normality Test | |

SSbiexp | Self-Starting Nls Biexponential model | |

stat.anova | GLM Anova Statistics | |

stats-defunct | Defunct Functions in Package stats | |

stats-deprecated | Deprecated Functions in Package stats | |

stats-package | The R Stats Package | |

summary.manova | Summary Method for Multivariate Analysis of Variance | |

summary.nls | Summarizing Non-Linear Least-Squares Model Fits | |

plot.ppr | Plot Ridge Functions for Projection Pursuit Regression Fit | |

predict.glm | Predict Method for GLM Fits | |

plot.profile.nls | Plot a profile.nls Object | |

predict.HoltWinters | Prediction Function for Fitted Holt-Winters Models | |

runmed | Running Medians -- Robust Scatter Plot Smoothing | |

residuals | Extract Model Residuals | |

se.contrast | Standard Errors for Contrasts in Model Terms | |

SSD | SSD Matrix and Estimated Variance Matrix in Multivariate Models | |

selfStart | Construct Self-starting Nonlinear Models | |

summary.glm | Summarizing Generalized Linear Model Fits | |

TDist | The Student t Distribution | |

summary.lm | Summarizing Linear Model Fits | |

terms.object | Description of Terms Objects | |

termplot | Plot Regression Terms | |

time | Sampling Times of Time Series | |

update | Update and Re-fit a Model Call | |

update.formula | Model Updating | |

weights | Extract Model Weights | |

SSfol | Self-Starting Nls First-order Compartment Model | |

summary.princomp | Summary method for Principal Components Analysis | |

supsmu | Friedman's SuperSmoother | |

toeplitz | Form Symmetric Toeplitz Matrix | |

Tukey | The Studentized Range Distribution | |

ts-methods | Methods for Time Series Objects | |

TukeyHSD | Compute Tukey Honest Significant Differences | |

C | Sets Contrasts for a Factor | |

Wilcoxon | Distribution of the Wilcoxon Rank Sum Statistic | |

vcov | Calculate Variance-Covariance Matrix for a Fitted Model Object | |

Weibull | The Weibull Distribution | |

window | Time Windows | |

wilcox.test | Wilcoxon Rank Sum and Signed Rank Tests | |

No Results! |

## Details

#### Include our badge in your README

```
[![Rdoc](http://www.rdocumentation.org/badges/version/stats)](http://www.rdocumentation.org/packages/stats)
```