Learn R Programming

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

lessR (version 3.0)

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 descriptive 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 and color themes. The function Help provides a help system that suggests specific analyses and functions. Variable labels are available. A confirmatory factor analysis of multiple indicator measurement models is also available as well as pedagogical routines for data simulation such as for the Central Limit Theorem.

Copy Link

Version

Install

install.packages('lessR')

Monthly Downloads

3,324

Version

3.0

License

GPL (>= 2)

Maintainer

David W Gerbing

Last Published

January 2nd, 2014

Functions in lessR (3.0)

Recode

Recode the Values of an Integer or Factor Variable
prob.tcut

Plot t-distribution Curve and Specified Cutoffs with Normal Curve
dataLearn

Data: Distributed vs Massed Practice
Correlation

Correlation Analysis
BoxPlot

Boxplot
ttestPower

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

Proportionality Coefficients from Correlations
dataReading

Data: Reading Ability
label

Apply a Variable Label to a non-lessR Function
dataCars93

Data: Cars93
CountAll

CountAll Descriptive Analysis of all Variables in the Data Frame
corReflect

Reflect Specified Variables in a Correlation Matrix
dataJackets

Data: Motorcycle Type and Thickness of Jacket
prob.znorm

Plot a Normal Curve with Shaded Intervals by Standard Deviation
Help

Help System for Statistics by Topic that Suggests Related Functions
Subset

Subset the Values of an Integer or Factor Variable
details

Display Contents of a Data File and Optional Variable Labels
corReorder

Reorder Variables in a Correlation Matrix
prob.norm

Compute and Plot Normal Curve Probabilities over an Interval
set

Set the Default Color Theme and Other System Settings
ttest

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

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

Scatterplot for One (Dot Plot) or Two Variables
BarChart

Bar Chart of One or Two Variables
Merge

Merge Two Data Frames Horizontally or Vertically
Regression

Regression Analysis
simCImean

Pedagogical Simulation for the Confidence Interval of the Mean
ANOVA

Analysis of Variance
SummaryStats

Summary Statistics for One or Two Variables
simFlips

Pedagogical Binomial Simulation, Coin flips
dataEmployee

Data: Employees
corRead

Read Specified Correlation Matrix
Model

Regression Analysis, ANOVA or t-test
simCLT

Pedagogical Simulation for the Central Limit Theorem
values

List the Values of a Variable
Write

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

Density Curves from Data plus Histogram
corScree

Eigenvalue Plot of a Correlation Matrix
Sort

Sort the Rows of a Data Frame
PieChart

Pie Chart
Histogram

Histogram with Color
LineChart

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

Data: Body Measurements
corCFA

Confirmatory Factor Analysis of a Multiple Indicator Measurement Model
Transform

Transform the Values of an Integer or Factor Variable
to

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

Pedagogical Simulation of Sample Means over Repeated Samples
Nest

Nest the Values of an Integer or Factor Variable
showColors

Display All Named R Colors and Their rgb Values
dataMach4

Data: Machiavellianism
Logit

Logit Regression Analysis
corEFA

Exploratory Factor Analysis and Multiple Indicator Measurement Model