Learn R Programming

⚠️There's a newer version (4.4.2) of this package.Take me there.

lessR (version 3.3.1)

Less Code, More Results

Description

Each function accomplishes the work of several or more standard R functions. For example, two function calls, Read() and CountAll(), read the data and generate summary statistics for all variables in the data frame, plus histograms and bar charts as appropriate. Other functions provide for descriptive statistics, a comprehensive regression analysis, analysis of variance and t-test, plotting, bar chart, histogram, box plot, density curves, calibrated power curve, reading multiple data formats with the same function, variable labels, color themes, and a built-in help system. A confirmatory factor analysis of multiple indicator measurement models is also available as are pedagogical routines for data simulation such as for the Central Limit Theorem. Compatible with RStudio and knitr including generation of knitr instructions for interpretative output.

Copy Link

Version

Install

install.packages('lessR')

Monthly Downloads

2,931

Version

3.3.1

License

GPL (>= 2)

Maintainer

David W Gerbing

Last Published

April 28th, 2015

Functions in lessR (3.3.1)

Correlation

Correlation Analysis
Nest

Nest the Values of an Integer or Factor Variable
PieChart

Pie Chart
dataReading

Data: Reading Ability
Density

Density Curves from Data plus Histogram
corReorder

Reorder Variables in a Correlation Matrix
Histogram

Histogram with Color
ANOVA

Analysis of Variance
tNum

Text Processing: Convert a Number to a Word
prob.norm

Compute and Plot Normal Curve Probabilities over an Interval
LineChart

Line Chart such as a Run Chart or Time-Series Chart
dataLearn

Data: Distributed vs Massed Practice
print.out_all

Disply All Text Output from a Saved List Object
CountAll

CountAll Descriptive Analysis of all Variables in the Data Frame
dataCars93

Data: Cars93
details

Display Contents of a Data File and Optional Variable Labels
BoxPlot

Boxplot
corProp

Proportionality Coefficients from Correlations
corCFA

Confirmatory Factor Analysis of a Multiple Indicator Measurement Model
Recode

Recode the Values of an Integer or Factor Variable
simCLT

Pedagogical Simulation for the Central Limit Theorem
corEFA

Exploratory Factor Analysis and Multiple Indicator Measurement Model
simMeans

Pedagogical Simulation of Sample Means over Repeated Samples
regPlot

regPlot Analysis
Logit

Logit Regression Analysis
Write

Write the Contents of a Data Frame to an External File
values

List the Values of a Variable
Model

Regression Analysis, ANOVA or t-test
BarChart

Bar Chart of One or Two Variables
Regression

Regression Analysis
corScree

Eigenvalue Plot of a Correlation Matrix
dataEmployee

Data: Employees
Transform

Transform the Values of an Integer or Factor Variable
Merge

Merge Two Data Frames Horizontally or Vertically
dataJackets

Data: Motorcycle Type and Thickness of Jacket
tRow

Add the Word Row to Case Labels that Could be Numeric
Read

Read Contents of a Data File with Optional Variable Labels and Feedback
ScatterPlot

Scatterplot for One (Dot Plot) or Two Variables
corReflect

Reflect Specified Variables in a Correlation Matrix
label

Return or Assign a Variable Label
tP

Print Formatted Numbers
Subset

Subset the Values of an Integer or Factor Variable
dataMach4

Data: Machiavellianism
to

Create a Sequence of Numbered Variable Names with a Common Prefix
dataBodyMeas

Data: Body Measurements
tAnd

Text Processing: Insert and
Help

Help System for Statistics by Topic that Suggests Related Functions
Sort

Sort the Rows of a Data Frame
set

Set the Default Color Theme and Other System Settings
simFlips

Pedagogical Binomial Simulation, Coin flips
prob.tcut

Plot t-distribution Curve and Specified Cutoffs with Normal Curve
prob.znorm

Plot a Normal Curve with Shaded Intervals by Standard Deviation
print.out_piece

Display a Piece of Output from a Saved List Object
corRead

Read Specified Correlation Matrix
simCImean

Pedagogical Simulation for the Confidence Interval of the Mean
ttest

Generic Method for t-test and Standardized Mean Difference with Enhanced Graphics
SummaryStats

Summary Statistics for One or Two Variables
ttestPower

Compute a Power Curve for a One or Two Group t-test
showColors

Display All Named R Colors and Corresponding rgb Values
xP

Text Processing: Print Formatted Numbers
xAnd

Text Processing: Insert and Into a List
xNum

Text Processing: Convert a Number to a Word
xW

Text Processing: Wrap Words to Create New Lines From a Specified Line
xRow

Add the Word Row to Case Labels that Could be Numeric
xU

Text Processing: Capitalize First Letter of a Word