rockchalk1.8.157 package

Regression Estimation and Presentation

addLines

Superimpose regression lines on a plotted plane

centerNumerics

Find numeric columns, center them, re-name them, and join them with th...

centralValues

Central Tendency estimates for variables

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 median, when n...

cutBySD

Returns center values of x, the mean, mean-std.dev, mean+std.dev

cutByTable

Select most frequently occurring values from numeric or categorical va...

cutFancy

Create an ordinal variable by grouping numeric data input.

descriptiveTable

Summary stats table-maker for regression users

dir.create.unique

Create a uniquely named directory. Appends number & optionally date to...

drawnorm

draw a normal distribution with beautiful illustrations

focalVals

Create a focal value vector.

formatSummarizedFactors

Prints out the contents of an object created by summarizeFactors in th...

formatSummarizedNumerics

Reformat numeric summarize output as one column per variable, similar ...

genCorrelatedData

Generates a data frame for regression analysis

genCorrelatedData2

Generates a data frame for regression analysis.

genCorrelatedData3

Generate correlated data for simulations (third edition)

genX

Generate correlated data (predictors) for one unit

getAuxRsq

retrieves estimates of the coefficient of determination from a list of...

getDeltaRsquare

Calculates the delta R-squares, also known as squared semi-partial cor...

getFocal

Select focal values from an observed variable.

getPartialCor

Calculates partial correlation coefficients after retrieving data matr...

getVIF

Converts the R-square to the variance inflation factor

gmc

Group Mean Center: Generate group summaries and individual deviations ...

kurtosis

Calculate excess kurtosis

lazyCor

Create correlation matrices.

lazyCov

Create covariance matrix from correlation and standard deviation infor...

lmAuxiliary

Estimate leave-one-variable-out regressions

magRange

magRange Magnify the range of a variable.

makeSymmetric

Create Symmetric Matrices, possibly covariance or correlation matrices...

makeVec

makeVec for checking or creating vectors

mcDiagnose

Multi-collinearity diagnostics

mcGraph

Illustrate multicollinearity in regression, part 1.

meanCenter

meanCenter

model.data.default

Create a data frame suitable for estimating a model

model.data

Create a "raw" (UNTRANSFORMED) data frame equivalent to the input data...

mvrnorm

Minor revision of mvrnorm (from MASS) to facilitate replication

newdata

Create a newdata frame for usage in predict methods

outreg

Creates a publication quality result table for regression models. Work...

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

plot.testSlopes

Plot testSlopes objects

plotCurves

Assists creation of predicted value curves for regression models.

plotFancy

Regression plots with predicted value lines, confidence intervals, col...

plotFancyCategories

Draw display for discrete predictor in plotSlopes

plotPlane

Draw a 3-D regression plot for two predictors from any linear or nonli...

plotSeq

Create sequences for plotting

plotSlopes

Generic function for plotting regressions and interaction effects

predictCI

Calculate a predicted value matrix (fit, lwr, upr) for a regression, e...

predictOMatic

Create predicted values after choosing values of predictors. Can demon...

print.pctable

Display pctable objects

print.summarize

print method for output from summarize

print.summary.pctable

print method for summary.pctable objects

rbindFill

Stack together data frames

removeNULL

Remove NULL values variables from a list

residualCenter

Calculates a "residual-centered" interaction regression.

rockchalk-package

rockchalk: regression functions

se.bars

Draw standard error bar for discrete variables

skewness

Calculate skewness

standardize

Estimate standardized regression coefficients for all variables

summarize

Sorts numeric from discrete variables and returns separate summaries f...

summarizeFactors

Extracts non-numeric variables, calculates summary information, includ...

summarizeNumerics

Extracts numeric variables and presents an summary in a workable forma...

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 from a mat...

vech2mat

Convert a half-vector (vech) into a matrix.

waldt

T-test for the difference in 2 regression parameters

A collection of functions for interpretation and presentation of regression analysis. These functions are used to produce the statistics lectures in <https://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.'.

  • Maintainer: Paul E. Johnson
  • License: GPL (>= 3.0)
  • Last published: 2022-08-06