Learn R Programming

lmSupport (version 2.9.13)

Support for Linear Models

Description

Provides tools and a consistent interface to support analyses using General, Generalized, and Multi-level Linear Models.

Copy Link

Version

Install

install.packages('lmSupport')

Monthly Downloads

13

Version

2.9.13

License

GPL (>= 2)

Maintainer

John Curtin

Last Published

April 8th, 2018

Functions in lmSupport (2.9.13)

figLegend

Wrapper for standarized use of figLegend()
modelCaseAnalysis

Provides graphs and/or tests for problematic cases for a linear model
varDescribe

Provides typical descriptive statistics for data frame
modelCompare

F-tests for nested models
modelRmd

Returns a formatted string for stats reporting from a model in R Markdown
varRename

Rename Variable in Dataframe
varRegressors

Adds actual numeric regressors for factor to dataframe as new variables
varDescribeBy

Provides common desriptives for dataframe by factor(s)
figLayout

Wrapper for standarized use of layout()
varMarkdown

Returns a formatted string for stats reporting in R Markdown
figLabDefaults

Generate list graphing parameters
modelPower

Calculate power for GLM tests
modelPredictions

Provides predicted values for sample or new data. New predictions include SEs
varScore

Creates a total score from a sum of items
varReverse

Reverse score an ordinal or boolean scored item/variable
modelR2

Model R2, adjusted R2 and F-test
modelErrors

Returns model errors (residuals) from lm object
varOdd

Tests if Numbers are Odd
modelEffectSizes

Calculates effect size indices based on Sums of Squares
varPlot

Creates histogram, optional rug/strip and density plots, and generates univariate descriptive statistics
lmSupport-deprecated

Deprecated Functions in lmSupport Package
modelCorrectSE

Calculates White (1980)'s heteroscedascity-corrected SEs and Tests for a linear model
varPadString

Pads a string to fixed length
modelAssumptions

Assess Linear Model Assumptions
varRecode

Recode levels of variable
varParse

Returns a subset of digits from a Number
varContrasts

Set Factor Contrasts
modelSummary

summary of results for lm model
figConfidenceBand

Creates confidence band for regression line
dfWriteDat

Saves dataframe as tab-delimited text file with typical Curtin lab parameters
BAC

BAC and Fear-potenitated startle
dfRemoveCases

Removes cases from dataframe
figBarPlot

Wrapper for standarized use of barplot2() from gplots
dfMerge

Merges two data frames
figAxis

Wrapper for standarized use of axis()
dfReadDat

Opens a tab-delimited dat file with typical Curtin lab settings
figText

Wrapper for standarized use of text()
dfRownames

Sets rownames to SubID
figErrBars

Wrapper for standarized use of error bars
figStripChart

Create strip chart on plot
figPoints

Wrapper for standarized use of points()
figSetDefaults

Saves list of graphing parameters in options
modelBoxCox

Calculates lambda for Box-Cox power transformation
figLines

Wrapper for standarized use of lines()
figNewDevice

Opens device for graphing
figPlotRegion

Sets up a plot region for later plotting