rockchalk: Regression Estimation and Presentation
Version 1.8.101

A collection of functions for interpretation and presentation of regression analysis. These functions are used to produce the statistics lectures in http://pj.freefaculty.org/guides. Includes regression diagnostics, regression tables, and plots of interactions and "moderator" variables. The emphasis is on "mean-centered" and "residual-centered" predictors. The vignette 'rockchalk' offers a fairly comprehensive overview. The vignette 'Rstyle' has advice about coding in R. The package title 'rockchalk' refers to our school motto, 'Rock Chalk Jayhawk, Go K.U.'.

Browse man pages Browse package API and functions Browse package files

AuthorPaul E. Johnson <pauljohn@ku.edu>
Date of publication2016-02-25 00:44:31
MaintainerPaul E. Johnson <pauljohn@ku.edu>
LicenseGPL (>= 3.0)
Version1.8.101
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("rockchalk")

Man pages

addLines: Superimpose regression lines on a plotted plane
centerNumerics: Find numeric columns, center them, re-name them, and join...
centralValues: Central Tendency estimates for variables
cheating: Cheating and Looting in Japanese Electoral Politics
checkIntFormat: A way of checking if a string is a valid file name.
checkPosDef: Check a matrix for positive definitness
combineLevels: recode a factor by "combining" levels
cutByQuantile: Calculates the "center" quantiles, always including the...
cutBySD: Returns center values of x, the mean, mean-std.dev,...
cutByTable: Select most frequently occurring values from numeric or...
dir.create.unique: Create a uniquely named directory. Appends number &...
focalVals: Create a focal value vector.
formatVC: formatter for merMod objects copied from lme4
genCorrelatedData: Generates a data frame for regression analysis
genCorrelatedData2: Generates a data frame for regression analysis.
getAuxRsq: retrieves estimates of the coefficient of determination from...
getDeltaRsquare: Calculates the delta R-squares, also known as squared...
getFocal: Select focal values from an observed variable.
getPartialCor: Calculates partial correlation coefficients after retrieving...
getVIF: Converts the R-square to the variance inflation factor
kurtosis: Calculate excess kurtosis
lazyCor: Create correlation matrices.
lazyCov: Create covariance matrix from correlation and standard...
lmAuxiliary: Estimate leave-one-variable-out regressions
magRange: magRange Magnify the range of a variable.
makeSymmetric: Create Symmetric Matrices, possibly covariance or correlation...
makeVec: makeVec for checking or creating vectors
mcDiagnose: Multi-collinearity diagnostics
mcGraph: Illustrate multicollinearity in regression, part 1.
meanCenter: meanCenter
model.data: Create a "raw" (UNTRANSFORMED) data frame equivalent to the...
model.data.default: Create a data frame suitable for estimating a model
mvrnorm: Minor revision of mvrnorm (from 'MASS') to facilitate...
newdata: Create a newdata frame for usage in predict methods
outreg: Creates a publication quality result table for regression...
outreg0: Creates a publication quality result table for regression...
outreg2HTML: Convert LaTeX output from outreg to HTML markup
padW0: Pad with 0's.
pctable: Creates a cross tabulation with counts and percentages
perspEmpty: perspEmpty
plotCurves: Assists creation of predicted value curves for regression...
plotFancy: Regression plots with predicted value lines, confidence...
plotPlane: Draw a 3-D regression plot for two predictors from any linear...
plotSeq: Create sequences for plotting
plotSlopes: Generic function for plotting regressions and interaction...
plot.testSlopes: Plot testSlopes objects
predictCI: Calculate a predicted value matrix (fit, lwr, upr) for a...
predictOMatic: Create predicted values after choosing values of predictors....
print.factorSummaries: Prints out the contents of an object created by...
print.pctable: Display pctable objects
print.summary.pctable: print method for summary.pctable objects
religioncrime: Religious beliefs and crime rates
residualCenter: Calculates a "residual-centered" interaction regression.
rockchalk-package: rockchalk: regression functions
skewness: Calculate skewness
standardize: Estimate standardized regression coefficients for all...
summarize: Sorts numeric from factor variables and returns separate...
summarizeFactors: Extracts non-numeric variables, calculates summary...
summarizeNumerics: Extracts numeric variables and presents an alphabetized...
summary.factor: Tabulates observed values and calculates entropy
summary.pctable: Extract presentation from a pctable object
testSlopes: Hypothesis tests for Simple Slopes Objects
vech2Corr: Convert the vech (column of strictly lower trianglar values...
vech2mat: Convert a half-vector (vech) into a matrix.

Functions

addLines Man page Source code
centerNumerics Man page Source code
centralValues Man page Source code
cheating Man page
checkIntFormat Man page Source code
checkPosDef Man page Source code
combineLevels Man page Source code
cutByQuantile Man page Source code
cutBySD Man page Source code
cutByTable Man page Source code
dir.create.unique Man page Source code
focalVals Man page Source code
formatVC Man page Source code
genCorrelatedData Man page Source code
genCorrelatedData2 Man page Source code
getAuxRsq Man page Source code
getDeltaRsquare Man page Source code
getFocal Man page Source code
getFocal.character Man page Source code
getFocal.default Man page Source code
getFocal.factor Man page Source code
getPartialCor Man page Source code
getVIF Man page Source code
kurtosis Man page Source code
lazyCor Man page Source code
lazyCov Man page Source code
lmAuxiliary Man page Source code
magRange Man page Source code
makeSymmetric Man page Source code
makeVec Man page Source code
mcDiagnose Man page Source code
mcGraph1 Man page Source code
mcGraph2 Man page Source code
mcGraph3 Man page Source code
meanCenter Man page Source code
meanCenter.default Man page Source code
model.data Man page Source code
model.data.default Man page Source code
mvrnorm Man page Source code
newdata Man page Source code
newdata.default Man page Source code
outreg Man page Source code
outreg0 Man page Source code
outreg2HTML Man page Source code
padW0 Man page Source code
pctable Man page Source code
pctable.character Man page Source code
pctable.default Man page Source code
pctable.formula Man page Source code
perspEmpty Man page Source code
plot.testSlopes Man page Source code
plotCurves Man page Source code
plotFancy Man page Source code
plotPlane Man page Source code
plotPlane.default Man page Source code
plotSeq Man page Source code
plotSlopes Man page Source code
plotSlopes.lm Man page Source code
predict.mcreg Source code
predict.rcreg Man page Source code
predictCI Man page Source code
predictOMatic Man page Source code
print.factorSummaries Man page Source code
print.mcreg Source code
print.pctable Man page Source code
print.stdreg Source code
print.summary.mcreg Source code
print.summary.pctable Man page Source code
print.summary.stdreg Source code
religioncrime Man page
residualCenter Man page Source code
residualCenter.default Man page Source code
rockchalk Man page
rockchalk-package Man page
skewness Man page Source code
standardize Man page Source code
standardize.lm Man page Source code
summarize Man page Source code
summarizeFactors Man page Source code
summarizeNumerics Man page Source code
summary.factor Man page Source code
summary.mcreg Source code
summary.pctable Man page Source code
summary.stdreg Source code
testSlopes Man page Source code
vech2Corr Man page Source code
vech2mat Man page Source code

Files

inst
inst/examples
inst/examples/summarize-ex.R
inst/examples/plot-Normal-3-plotmath.R
inst/examples/plot-Normal-1.R
inst/examples/standardize-ex.R
inst/examples/meanCenter-ex.R
inst/examples/mcDiagnose-ex.R
inst/examples/plot-barplot-2.R
inst/examples/plotCurves-ex.R
inst/examples/plotSlopes-ex.R
inst/examples/predict.rcreg-ex.R
inst/examples/plot-math_functions-1.R
inst/examples/residualCenter-ex.R
inst/examples/model.data-ex.R
inst/examples/plot-barplot-1.R
inst/examples/testSlopes-ex.R
inst/examples/centeredRegression.R
inst/examples/noWords-002.R
inst/examples/plot-Normal-2-clt.R
inst/examples/plotPlane-ex.R
inst/examples/noWords-003.R
inst/examples/noWords-001.R
inst/examples/predictOMatic-ex.R
inst/examples/stackListItems-01.R
inst/examples/addLines-ex.R
inst/NEWS
inst/ChangeLog
inst/doc
inst/doc/Rstyle.R
inst/doc/rockchalk.R
inst/doc/rockchalk.Rnw
inst/doc/Rstyle.pdf
inst/doc/Rstyle.Rnw
inst/doc/Rchaeology.pdf
inst/doc/Rchaeology.R
inst/doc/Rchaeology.Rnw
inst/doc/rockchalk.pdf
NAMESPACE
data
data/cheating.RData
data/religioncrime.RData
R
R/utils.R
R/perspEmpty.R
R/residualCenter.R
R/centralValues.R
R/plotSlopes.R
R/testSlopes.R
R/predictOMatic.R
R/magRange.R
R/genCorrelatedData.R
R/plotPlane.R
R/recodeFactors.R
R/summarize.R
R/mcDiagnose.R
R/mcGraph.R
R/outreg.R
R/pctable.R
R/rockchalk-package.R
R/plotCurves.R
R/meanCenter.R
vignettes
vignettes/rockchalk.lyx
vignettes/VignetteExportUpload.sh
vignettes/rockchalk.Rnw
vignettes/Sweavel.sty
vignettes/Rstyle.lyx
vignettes/Rchaeology.lyx
vignettes/Rstyle.Rnw
vignettes/rockchalk.bib
vignettes/Rchaeology.Rnw
MD5
build
build/vignette.rds
DESCRIPTION
man
man/print.factorSummaries.Rd
man/plotSlopes.Rd
man/outreg0.Rd
man/summarize.Rd
man/rockchalk-package.Rd
man/lazyCor.Rd
man/getPartialCor.Rd
man/checkPosDef.Rd
man/plotPlane.Rd
man/model.data.default.Rd
man/centerNumerics.Rd
man/meanCenter.Rd
man/addLines.Rd
man/religioncrime.Rd
man/cutBySD.Rd
man/cutByTable.Rd
man/skewness.Rd
man/plotFancy.Rd
man/plotCurves.Rd
man/checkIntFormat.Rd
man/newdata.Rd
man/combineLevels.Rd
man/residualCenter.Rd
man/plot.testSlopes.Rd
man/pctable.Rd
man/mvrnorm.Rd
man/dir.create.unique.Rd
man/kurtosis.Rd
man/genCorrelatedData.Rd
man/getVIF.Rd
man/perspEmpty.Rd
man/cheating.Rd
man/print.summary.pctable.Rd
man/lazyCov.Rd
man/getDeltaRsquare.Rd
man/predictOMatic.Rd
man/outreg2HTML.Rd
man/predictCI.Rd
man/vech2mat.Rd
man/testSlopes.Rd
man/model.data.Rd
man/print.pctable.Rd
man/focalVals.Rd
man/plotSeq.Rd
man/summary.pctable.Rd
man/mcGraph.Rd
man/padW0.Rd
man/summary.factor.Rd
man/formatVC.Rd
man/cutByQuantile.Rd
man/centralValues.Rd
man/summarizeFactors.Rd
man/summarizeNumerics.Rd
man/genCorrelatedData2.Rd
man/magRange.Rd
man/vech2Corr.Rd
man/outreg.Rd
man/makeVec.Rd
man/getFocal.Rd
man/lmAuxiliary.Rd
man/standardize.Rd
man/makeSymmetric.Rd
man/mcDiagnose.Rd
man/getAuxRsq.Rd
rockchalk documentation built on May 19, 2017, 10:01 a.m.