Tools for descriptive statistics


[Up] [Top]

Documentation for package ‘DescTools’ version 0.99.6

Help Pages

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z misc

DescTools-package Tools for Efficient Descriptive Statistics

-- A --

AddConnLines Add Connection Lines to a Barplot
AddErrBars Add Error Bars to an Existing Plot
AddLm Add a Linear Regression Line
AddLm.default Add a Linear Regression Line
AddLm.formula Add a Linear Regression Line
AddLm.lm Add a Linear Regression Line
AddLoess Add a Loess Smoother
AddLoess.default Add a Loess Smoother
AddLoess.formula Add a Loess Smoother
AddMonths Add a Month to a Date
AllDuplicated Index Vector of All Values Involved in Ties
AndersonDarlingTest Anderson-Darling test for normality
AreaIdent Identify Points in Plot Defined by an Upper-Left and a Bottom-Right Click
AscToChar Converts ASCII Codes to Characters and Vice Versa
Assocs Association Measures
Atkinson Calculate the Atkinson Index
AUC Area Under the Curve
AxisBreak Place a Break Mark on an Axis

-- B --

Between Between Operators Check, if a Value Lies Within a Given Range
BinomCI Confidence Intervals for Binomial Proportions
BinToDec Converts numbers from binmode, octmode or hexmode to decimal and vice versa
BoxCox Box Cox Transformation
BoxCoxInv Box Cox Transformation
BoxCoxLambda Automatic selection of Box Cox transformation parameter
BoxedText Add Text in a Box to a Plot
BreslowDayTest Breslow-Day Test for Homogeneity of the Odds Ratios

-- C --

Canvas Canvas for Geometric Plotting
CartToPol Transform Cartesian to Polar Coordinates and vice versa
CatTable Function to write a table
CharToAsc Converts ASCII Codes to Characters and Vice Versa
ChooseColorDlg Display Color Dialog to Choose a Color
ClipToVect Reformat a Table in the Clipboard as Vector
Clockwise Calculates Begin and End Angle From a List of Given Angles in Clockwise Mode
Coalesce Return the First Element Not Being NA
CochranArmitageTest Cochran-Armitage test for trend
CochranQTest Cochran's Q test
CochranQTest.default Cochran's Q test
CochranQTest.formula Cochran's Q test
CohenKappa Cohen's Kappa and Weighted Kappa
ColorLegend Add a ColorLegend to a Plot
ColToGray Convert Colors to Grey/Grayscale
ColToGrey Convert Colors to Grey/Grayscale
ColToHex Convert a Color into Hex String
ColToHsv R Color to HSV Conversion
ColToRgb Color to RGB Conversion
compute.bagplot PlotBag, a bivariate boxplot
Concatenate Strings Concatenates two strings without any separator.
ConDisPairs Concordant and Discordant Pairs
ContCoef Cramer's V, Pearson's Contingency Coefficient and Phi Coefficient Yule's Q and Y, Tschuprow's T
CorCI Fisher r to z and z to r and confidence intervals
CramerV Cramer's V, Pearson's Contingency Coefficient and Phi Coefficient Yule's Q and Y, Tschuprow's T
CramerVonMisesTest Cramer-von Mises test for normality
CronbachAlpha Cronbach's Coefficient Alpha
CutQ Build Quantile Groups for a Numeric Variable

-- D --

d.diamonds Data diamonds
d.pizza Data pizza
d.world Some World Population and Geographic Data
Date Create a Date from Numeric Representation
Day Part of Date
day.abb Build-in Constants Extension
day.name Build-in Constants Extension
Day<- Part of Date
DecToBin Converts numbers from binmode, octmode or hexmode to decimal and vice versa
DecToHex Converts numbers from binmode, octmode or hexmode to decimal and vice versa
DecToOct Converts numbers from binmode, octmode or hexmode to decimal and vice versa
DegToRad Convert Degrees to Radians and vice versa
Desc Describe Data
Desc.character Describe a factor, an ordered factor or a character vector
Desc.data.frame Describe a data.frame, a list or a matrix
Desc.Date Describe a Date Vector
Desc.default Describe Data
Desc.factor Describe a factor, an ordered factor or a character vector
Desc.formula Describe Variables by Groups
Desc.integer Describe an integer variable
Desc.list Describe a data.frame, a list or a matrix
Desc.logical Describe a dichotomous variable
Desc.matrix Describe a contingency table
Desc.numeric Describe a numeric vector
Desc.ordered Describe a factor, an ordered factor or a character vector
Desc.table Describe a contingency table
DescFactFact Describe Variables by Groups
DescNumFact Describe Variables by Groups
DescNumNum Describe Variables by Groups
DescTools Tools for Efficient Descriptive Statistics
DescWrd Use Word as Reporting Tool for Describing Data
DescWrd.data.frame Use Word as Reporting Tool for Describing Data
DescWrd.default Use Word as Reporting Tool for Describing Data
DescWrd.formula Use Word as Reporting Tool for Describing Data
DivCoef Rao's diversity coefficient also called quadratic entropy
DivCoefMax Maximal value of Rao's diversity coefficient also called quadratic entropy
DrawAnnulus Draw One or Several Annuli
DrawAnnulusSector Draw a Sector of an Annulus
DrawArc Draw Elliptic or Circular Arc(s)
DrawBand Draw Confidence Band
DrawBezier Draw a Bezier Curve
DrawCircle Draw a Circle
DrawEllipse Draw an Ellipse
DrawRegPolygon Draw Regular Polygon(s)
Dummy Generate Dummy Codes for a Factor

-- E --

Entropy Shannon Entropy and Mutual Information
ExpFreq Expected frequencies

-- F --

Factorize Prime Factorization of Integers
FctArgs Retrieve a Functions' Arguments
Fibonacci Fibonacci Series
FindColor Get Color on a Defined Color Range
FisherZ Fisher r to z and z to r and confidence intervals
FisherZInv Fisher r to z and z to r and confidence intervals
FixToTab Text to Table
FormatFix Format to a fixed format representation
FormatSig Significance Representation of a P-Value
Frac Return the Fractional Part of a Numeric Value
Freq Frequency Table

-- G --

GCD Greatest Common Divisor and Least Common Multiple
GetAllSubsets Get All Subsets out of a List of Elements
GetCurrWrd Get a Handle to a Running Word Instance
GetCurrXL Get a Handle to a Running Word Instance
GetNewPP Create a new PowerPoint Instance
GetNewWrd Create a new Word Instance
GetNewXL Create a new Excel Instance
GetPairs Get All Pairs out of one or two Sets of Elements
Gini Gini Coefficient
GiniSimpson Compute Gini-Simpson Coefficient
Gmean Geometric Mean and Standard Deviation
GoodmanKruskalGamma Goodman Kruskal's Gamma
GoodmanKruskalTauA Goodman Kruskal's Tau a
Gsd Geometric Mean and Standard Deviation

-- H --

hblue Some More Color Palettes
Herfindahl Concentration Measures
HexToCol Identify closest match to a color given by a hexadecimal string
HexToDec Converts numbers from binmode, octmode or hexmode to decimal and vice versa
HexToRgb Convert a Hexstring Color to a Matrix With Three Red/Green/Blue Rows
HighLow Return the Lowest and the Highest Values and Their Frequencies
Hmean Harmonic mean
HoeffD Matrix of Hoeffding's D Statistics
hred Some More Color Palettes
HuberM Safe (generalized) Huber M-Estimator of Location

-- I --

ICC Intraclass Correlations (ICC1, ICC2, ICC3 from Shrout and Fleiss)
identify.formula Identify points in a plot using a formula.
ImportDlg Get Path of a Data File to Be Opened
InDots Is a Specific Argument in the Dots-Arguments?
Interval Determines If And How Extensively Two Date Ranges Overlap
IsDate Check if an Object is of Type Date
IsEuclid Is a Distance Matrix Euclidean?
IsPrime IsPrime Property
IsValidWrd Check Word Pointer
IsWhole Is x a Whole Number?

-- J --

JarqueBeraTest Jarque-Bera Test
JonckheereTerpstraTest Exact Version of Jonckheere-Terpstra Test
JonckheereTerpstraTest.default Exact Version of Jonckheere-Terpstra Test
JonckheereTerpstraTest.formula Exact Version of Jonckheere-Terpstra Test

-- K --

Kappam Kappa for m raters
KendallTauB Kendall tau-b
Kurt Skewness and Kurtosis

-- L --

Label Label Attribute of an Object
Label.data.frame Label Attribute of an Object
Label.default Label Attribute of an Object
Label<- Label Attribute of an Object
Label<-.data.frame Label Attribute of an Object
Label<-.default Label Attribute of an Object
Lambda Goodman Kruskal Lambda
Lc Lorenz Curve
LCM Greatest Common Divisor and Least Common Multiple
LeveneTest Levene's Test for Homogeneity of Variance
LeveneTest.default Levene's Test for Homogeneity of Variance
LeveneTest.formula Levene's Test for Homogeneity of Variance
LeveneTest.lm Levene's Test for Homogeneity of Variance
LillieTest Lilliefors (Kolmogorov-Smirnov) test for normality
lines.Lc Lorenz Curve
LinScale Perform a linear scaling of x
LOCF Last Observation Carried Forward
LogGen Log Linear Hybrid, Generalized Log
Logit Generalized Logit and Inverse Logit function
LogitInv Generalized Logit and Inverse Logit function
LogLin Log Linear Hybrid, Generalized Log
LogSt Started Logarithmic Transformation and It's Inverse
LogStInv Started Logarithmic Transformation and It's Inverse
LsFct List Functions of a Package

-- M --

Mbind Bind k nxm-matrices with the same dimension
MeanAD Mean Absolute Deviation From a Center Point
MeanCI Confidence Interval for the Mean
MeanDiffCI Confidence Intervals for Difference of Means
MeanSE Standard error of mean
median.factor Median for Ordered Factors
MedianCI Confidence Interval for the Median
MHChisqTest Mantel-Haenszel Chi-Square Test
Midx Find the Midpoints of a Numeric Vector
Mode Mode
Month Part of Date
MosesTest Moses Test of Extreme Reactions
MosesTest.default Moses Test of Extreme Reactions
MosesTest.formula Moses Test of Extreme Reactions
Mround Round to Multiple
MultinomCI Confidence Intervals for Multinomial Proportions
MutInf Shannon Entropy and Mutual Information

-- N --

Ndec Count Decimal Places of a Number

-- O --

OctToDec Converts numbers from binmode, octmode or hexmode to decimal and vice versa
OddsRatio Odds Ratio Estimation and Confidence Intervals

-- P --

PageTest Exact Page Test for Ordered Alternatives
PageTest.default Exact Page Test for Ordered Alternatives
PageTest.formula Exact Page Test for Ordered Alternatives
PairApply Pairwise Calculations
PalHelsana Some More Color Palettes
PalRedBlackGreen Some More Color Palettes
PalRedToBlack Some More Color Palettes
PalRedWhiteGreen Some More Color Palettes
PalSteeblueWhite Some More Color Palettes
PalTibco Some More Color Palettes
ParseFormula Parse a Formula and Create a Model Frame
Partial Find the Partial Correlations for a Set x of Variables With Set y Removed.
PearsonTest Pearson chi-square test for normality
PercTable Percentage Table
PercTable.default Percentage Table
PercTable.formula Percentage Table
PercTable.matrix Percentage Table
PercTable.table Percentage Table
Permn Determine All Possible Permutations of a Set
Phi Cramer's V, Pearson's Contingency Coefficient and Phi Coefficient Yule's Q and Y, Tschuprow's T
plot.bagplot PlotBag, a bivariate boxplot
plot.Lc Lorenz Curve
PlotACF Combined Plot of a Time Series and it's Autocorrelation and Partial Autocorrelation
PlotArea Create an Area Plot
PlotArea.default Create an Area Plot
PlotArea.formula Create an Area Plot
PlotBag PlotBag, a bivariate boxplot
PlotBagPairs PlotBag, a bivariate boxplot
PlotBubble Draw a Bubble Plot
PlotCandlestick Plot Candlestick Chart
PlotCirc Plot Circular Plot
PlotCorr Plot a Correlation Matrix
PlotDesc Display descriptive plots
PlotDesc.data.frame Display descriptive plots
PlotDesc.Date Display descriptive plots
PlotDesc.default Display descriptive plots
PlotDesc.factor Display descriptive plots
PlotDesc.integer Display descriptive plots
PlotDesc.logical Display descriptive plots
PlotDesc.numeric Display descriptive plots
PlotDesc.ordered Display descriptive plots
PlotDesc.table Display descriptive plots
PlotDescFactFact Display descriptive plots
PlotDescNumFact Display descriptive plots
PlotDescNumNum Display descriptive plots
PlotDotCI Plot a Dotchart with Confidence Intervals
PlotDotCIp Plot a Dotchart with Binomial Confidence Intervals
PlotFaces Chernoff Faces
PlotFdist Frequency Distribution Plot
PlotGACF Combined Plot of a Time Series and it's Autocorrelation and Partial Autocorrelation
PlotHorizBar Plot Horizontal Bars
PlotMar Information plots
PlotMarDens Scatterplot with Marginal Densities
PlotMatrix Scatterplot Matrix
PlotMonth Plot Monthly or Seasonal Effects Of a Univariate Time Series
PlotMultiDens Plot Multiple Density Curves
PlotMultiDens.default Plot Multiple Density Curves
PlotMultiDens.formula Plot Multiple Density Curves
PlotPar Information plots
PlotPolar Plot Values on a Circular Grid
PlotPyramid Draw a Back To Back Pyramid Plot
PlotRCol Information plots
PlotTreemap Create a Treemap
PlotVenn Plot a Venn Diagram
PlotViolin Plot Violins Instead of Boxplots
PlotViolin.default Plot Violins Instead of Boxplots
PlotViolin.formula Plot Violins Instead of Boxplots
PlotWeb Plot a Web of Connected Points
PoissonCI Poisson Confidence Interval
PolarGrid Plot a Grid in Polar Coordinates
PolToCart Transform Cartesian to Polar Coordinates and vice versa
PpAddSlide Add Slides, Insert Texts and Plots to PowerPoint
PpPlot Add Slides, Insert Texts and Plots to PowerPoint
PpText Add Slides, Insert Texts and Plots to PowerPoint
Primes Find all Primes Less Than n
print.Freq Frequency Table
print.HoeffD Matrix of Hoeffding's D Statistics
print.ICC Intraclass Correlations (ICC1, ICC2, ICC3 from Shrout and Fleiss)

-- Q --

Quarter Part of Date

-- R --

RadToDeg Convert Degrees to Radians and vice versa
Ray Compact Information About the Columns of a Data Frame
Recode Recode a Factor
RelRisk Relative Risk
Rename Change Names of a Named Object
Rev Reverse Elements of a Vector or the Rows/Columns of Matrices and Tables
Rev.data.frame Reverse Elements of a Vector or the Rows/Columns of Matrices and Tables
Rev.default Reverse Elements of a Vector or the Rows/Columns of Matrices and Tables
Rev.matrix Reverse Elements of a Vector or the Rows/Columns of Matrices and Tables
Rev.table Reverse Elements of a Vector or the Rows/Columns of Matrices and Tables
RgbToCol Find the Named R-Color Which Is Nearest to a Given RGB-Color
RgbToLong Find the Named R-Color Which Is Nearest to a Given RGB-Color
RobRange Robust Range
RobScale Robust Scaling With Median and Mad
Rosenbluth Concentration Measures
Rotate Rotate a Geometric Structure
RunsTest Runs Test for Randomness

-- S --

SelectVarDlg Select Elements of a Set by Click
SelectVarDlg.data.frame Select Elements of a Set by Click
SelectVarDlg.default Select Elements of a Set by Click
SelectVarDlg.factor Select Elements of a Set by Click
SetAlpha Add an Alpha Channel To a Color
ShapiroFranciaTest Shapiro-Francia test for normality
SiegelTukeyRank Siegel-Tukey Test for equality in variability
SiegelTukeyTest Siegel-Tukey Test for equality in variability
SiegelTukeyTest.default Siegel-Tukey Test for equality in variability
SiegelTukeyTest.formula Siegel-Tukey Test for equality in variability
SignTest Sign Test
SignTest.default Sign Test
SignTest.formula Sign Test
Skew Skewness and Kurtosis
SomersDelta Somers' Delta
Sort Sort a Vector, a Matrix, a Table or a Data.frame
Sort.data.frame Sort a Vector, a Matrix, a Table or a Data.frame
Sort.default Sort a Vector, a Matrix, a Table or a Data.frame
Sort.matrix Sort a Vector, a Matrix, a Table or a Data.frame
Sort.table Sort a Vector, a Matrix, a Table or a Data.frame
SpearmanRho Spearman Rank Correlation
SpreadOut Spread out a vector of numbers to a minimum interval
Str Compactly Display the Structure of an Arbitrary R Object
Strata Stratified sampling
StrCap Capitalize the First Letter of a String
StrChop Split a String in a Number of Pieces With Fixed Length
StrCountW Count Words in a String
StrDist Compute Distances Between Strings
StrPad StrPad a String With Justification
StrRev Reverse a String
StrTrim Trim a string
StrTrunc Truncate Strings and Add Ellipses If a String is Truncated.
StuartTauC Stuart Tau C
summary.dist Is a Distance Matrix Euclidean?

-- T --

TextContrastColor Choose Textcolor Depending on Background Color
TheilU Theil's U index of inequality
TschuprowT Cramer's V, Pearson's Contingency Coefficient and Phi Coefficient Yule's Q and Y, Tschuprow's T
TukeyBiweight Calculate Tukey's Biweight Robust Mean

-- U --

UncertCoef Uncertainty Coefficient
Untable Untable

-- V --

VarCI Confidence Interval for the Variance
VecRot Vector Rotation

-- W --

wdConst Word VBA constants
Week Part of Date
Weekday Part of Date
WhichCharacters Get the Flags, Factors or Numerics of a data.frame
WhichFactors Get the Flags, Factors or Numerics of a data.frame
WhichFlags Get the Flags, Factors or Numerics of a data.frame
WhichNumerics Get the Flags, Factors or Numerics of a data.frame
Winsorize Winsorize
WoolfTest Woolf Test
WrdCaption Insert Caption to Word
WrdGetFont Set the Font in Word
WrdGoto Insert a Bookmark, Goto Bookmark and Update the Text of a Bookmark
WrdInsertBookmark Insert a Bookmark, Goto Bookmark and Update the Text of a Bookmark
WrdPlot Insert Active Plot to Word
WrdR Insert a R Command and It's Output in a Word Document
WrdSetFont Set the Font in Word
WrdTable Produces a Table in Word
WrdText Insert Normal Text to Word
WrdUpdateBookmark Insert a Bookmark, Goto Bookmark and Update the Text of a Bookmark

-- X --

XLGetRange Get the Values of Cell Range(s) in Excel
XLGetWorkbook Get the Values of All Sheets of an Excel Workbook
XLView Use Excel as Viewer for a Data.Frame

-- Y --

Year Part of Date
Yearday Part of Date
Yearmonth Part of Date
YuleQ Cramer's V, Pearson's Contingency Coefficient and Phi Coefficient Yule's Q and Y, Tschuprow's T
YuleY Cramer's V, Pearson's Contingency Coefficient and Phi Coefficient Yule's Q and Y, Tschuprow's T

-- Z --

Zodiac Calculate the Zodiac of a Date
ZTest Z Test for Known Population Standard Deviation

-- misc --

%()% Between Operators Check, if a Value Lies Within a Given Range
%(]% Between Operators Check, if a Value Lies Within a Given Range
%c% Concatenates two strings without any separator.
%like% Like operator
%nin% Find Matching (or Non-Matching) Elements
%overlaps% Determines If And How Extensively Two Date Ranges Overlap
%[)% Between Operators Check, if a Value Lies Within a Given Range
%[]% Between Operators Check, if a Value Lies Within a Given Range