# Dave Armstrong's Miscellaneous Functions

## Documentation for package ‘DAMisc’ version 1.7.2

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

A B C D E F G I L M N O P S T U V X Y Z

DAMisc-package | Dave Armstrong's Miscellaneous Functions

## -- A --

aclp | Example data for btscs function
alsos | Alternating Least Squares Optimal Scaling
alsosDV | Alternating Least Squares Optimal Scaling
as.crit | Fit a local polynomial regression with automatic smoothing parameter selection
aveEffPlot | Average Effect Plot for Generalized Linear Models

## -- B --

balsos | Bayesian Alternating Least Squares Optimal Scaling
BGMtest | Tests the five Berry, Golder and Milton (2012) Interactive Hypothesis
binfit | Scalar Measures of Fit for Binary Variable Models
binVar | Bin a Variable
boot.alsos | Bootstrapping function for the ALSOS algorithm
btscs | Generate Spells for Binary Variables

## -- C --

cat2Table | Fitted Values and CIs for 2-Categorical Interactions
changeSig | Regions of Statistical Significance in Interactions
combTest | Test for Combining Categories in Multinomial Logistic Regression Models.
concordant | Make Categorical Association Statistics
crSpanTest | Test of Span Parameter in linearity for Component + Residual Plots
crTest | Test of linearity for Component + Residual Plots
cv.lo2 | Cross-validating Loess curve

## -- D --

DAintfun | Surface Plots for Two-Way Interactions
DAintfun2 | Conditional Effects Plots for Interactions in Linear Models
DAintfun3 | Conditional Effects Plots for Interactions in Linear Models
DAMisc | Dave Armstrong's Miscellaneous Functions
describe_data | Interactive List of Variables
discordant | Make Categorical Association Statistics

## -- E --

effect_logistf | Plot Effects from Firth Logit

## -- F --

france | Example data for factorplot function

## -- G --

ggpie | Pie Charts with ggplot2
glmChange | Maximal First Differences for Generalized Linear Models
glmChange2 | Maximal First Differences for Generalized Linear Models

## -- I --

impCoef | Plot Variable Importance.
inspect | Inspect a Variable in a Data Frame
inspect.data.frame | Inspect a Variable in a Data Frame
inspect.tbl_df | Inspect a Variable in a Data Frame
intEff | Functions for Estimating Interaction Effects in Logit and Probit Models
InteractionEx | Example Data for DAintfun
intQualQuant | Predictions for Factor-Numeric Interactions in Linear Models

## -- L --

lambda | Make Categorical Association Statistics
loess.as | Fit a local polynomial regression with automatic smoothing parameter selection
loessDeriv | Estimate Derivatives of LOESS Curve.
logit_cc | Functions for Estimating Interaction Effects in Logit and Probit Models
logit_cd | Functions for Estimating Interaction Effects in Logit and Probit Models
logit_dd | Functions for Estimating Interaction Effects in Logit and Probit Models

## -- M --

makeHypSurv | Make Hypothetical Predictions for Survey Data
make_assoc_stats | Make Categorical Association Statistics
mnlAveEffPlot | Average Effects Plot for Multinomial Logistic Regression
mnlChange | Maximal First Differences for Multinomial Logistic Regression Models
mnlChange2 | Average Effects for Multinomial Logistic Regression Models
mnlfit | Fit Statistics and Specification Test for Multinomial Logistic Regression
mnlSig | Print Statistically Significant MNL Coefficients

## -- N --

NKnots | AIC and BIC selection of number of spline knots
NKnotsTest | Test of functional form assumption using B-splines

## -- O --

oc2plot | Plot First Differences from Ordinal DV Model
opt.span | Fit a local polynomial regression with automatic smoothing parameter selection
ord.gamma | Make Categorical Association Statistics
ord.somers.d | Make Categorical Association Statistics
ordAveEffPlot | Plot Average Effects of Variables in Proportional Odds Logistic Regression
ordChange | Maximal First Differences for Proportional Odds Logistic Regression Models
ordChange2 | Average Effects for Proportional Odds Logistic Regression Models
ordfit | Fit Statistics for Proportional Odds Logistic Regression Models
outEff | Plot Effects of Removing Outliers
outXT | Create LaTeX or CSV versions of an Object Produced by CrossTable

## -- P --

panel.2cat | Lattice panel function for confidence intervals with capped bars
panel.ci | Lattice panel function for confidence intervals
panel.doublerug | Lattice panel function for two rug plots
panel.transci | Lattice panel function for translucent confidence intervals
pgumbel | PDF of the Gumbel Distribution
phi | Make Categorical Association Statistics
plot.alsos | Plotting method for ALSOS object
plot.balsos | Plot Results from BALSOS
plot.loess | Plot LOESS curve.
plot.secdiff | Plotting Method for Second Difference Objects
poisfit | Scalar Measures of Fit for Poisson GLMs Models
poisGOF | Deviance and Chi-squared Goodness-of-Fit Test for Poisson Models
powerTrans | Power Transformation Function
pre | Proportional and Expected Proportional Reductions in Error
prepanel.ci | Lattice prepanel function for confidence intervals
print.diffci | Print Confidence Intervals for Predicted Probabilities and Their Differences
print.glmc2 | Print method for glmChange objects
print.iqq | Print method for intQualQuant objects.
print.mnlfit | Fit Statistics and Specification Test for Multinomial Logistic Regression
print.ordChange | Print method for ordChange objects
print.ordfit | Fit Statistics for Proportional Odds Logistic Regression Models
print.pre | Print method for objects of class pre
print.xt | Cross-Tabulation of Weighted or Unweighted Data
probci | Confidence Intervals for Predicted Probabilities and Their Differences
probgroup | Plog Probabilities by Group
probgroup.multinom | Plog Probabilities by Group
probgroup.polr | Plog Probabilities by Group
probit_cc | Functions for Estimating Interaction Effects in Logit and Probit Models
probit_cd | Functions for Estimating Interaction Effects in Logit and Probit Models
probit_dd | Functions for Estimating Interaction Effects in Logit and Probit Models
pwCorrMat | Pairwise Correlation Matrix

## -- S --

scaleDataFrame | Standardize quantitative variables in a data frame
searchVarLabels | Search Variable Labels Attribute
searchVarLabels.data.frame | Search Variable Labels Attribute
searchVarLabels.tbl_df | Search Variable Labels Attribute
secondDiff | Calculate Cross-Derivative and its Variability
sig.cor | Pairwise Correlation Matrix
simPredpolr | Calculate Predictions for Proportional Odds Logistic Regression
simrho | Make Categorical Association Statistics
simtab | Make Categorical Association Statistics
simtable | Make Categorical Association Statistics
summary.balsos | Summry method for Bayesian ALSOS
summary.secdiff | Summary for Second Difference Objects
sumStats | Summary Statistics
sumStats.data.frame | Summary Statistics
sumStats.survey.design | Summary Statistics

## -- T --

tau.b | Make Categorical Association Statistics
test.balsos | Testing Measurement Level Assumptions.
testGAMint | Simulated F-test for Linear Interactions
testLoess | Significance Test for Loess vs. LM
testNL | Test Transformations and Polynomials in Non-linear Models
testNL.glm | Test Transformations and Polynomials in Non-linear Models
testNL.lm | Test Transformations and Polynomials in Non-linear Models
tidy_boot_ci | Tidy Bootstrap Confidence Intervals
tscslag | Lag a time-series cross-sectional variables
tTest | t-Test function

## -- U --

unformulate | Break Apart Model Formula

## -- V --

V | Make Categorical Association Statistics

## -- X --

xt | Cross-Tabulation of Weighted or Unweighted Data
xt.data.frame | Cross-Tabulation of Weighted or Unweighted Data
xt.survey.design | Cross-Tabulation of Weighted or Unweighted Data

## -- Y --

yeo.johnson | Yeo-Johnson Transformation
yj_trans | Optimizing Yeo-Johnson Transformation

## -- Z --

ziChange | Maximal First Differences for Zero-Inflated Models