Learn R Programming

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

lessR (version 3.4.6)

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 call, variable labels, color themes, and a built-in help system. A confirmatory factor analysis of multiple indicator measurement models is available, as are pedagogical routines for data simulation such as for the Central Limit Theorem. Compatible with 'RStudio' and 'knitr' including generation of R markdown instructions for interpretative output.

Copy Link

Version

Install

install.packages('lessR')

Monthly Downloads

3,521

Version

3.4.6

License

GPL (>= 2)

Maintainer

David W Gerbing

Last Published

March 28th, 2016

Functions in lessR (3.4.6)

Nest

Nest the Values of an Integer or Factor Variable
LineChart

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

Reflect Specified Variables in a Correlation Matrix
print.out_piece

Display a Piece of Output from a Saved List Object
Histogram

Histogram with Color
BoxPlot

Boxplot
dataEmployee

Data: Employees
Sort

Sort the Rows of a Data Frame
label

Assign Variable Labels [Supersceded by VariableLabels]
prob.norm

Compute and Plot Normal Curve Probabilities over an Interval
corReorder

Reorder Variables in a Correlation Matrix
dataBodyMeas

Data: Body Measurements
xAnd

Text Processing: Insert and Into a List
ANOVA

Analysis of Variance
Density

Density Curves from Data plus Histogram
simCLT

Pedagogical Simulation for the Central Limit Theorem
VariableLabels

Return or Assign a Variable Label
Regression

Regression Analysis
SummaryStats

Summary Statistics for One or Two Variables
corEFA

Exploratory Factor Analysis and Multiple Indicator Measurement Model
details

Display Contents of a Data File and Optional Variable Labels
theme

Set the Default Color Theme and Other System Settings
simCImean

Pedagogical Simulation for the Confidence Interval of the Mean
to

Create a Sequence of Numbered Variable Names with a Common Prefix and Width
dataLearn

Data: Distributed vs Massed Practice
dataCars93

Data: Cars93
Merge

Merge Two Data Frames Horizontally or Vertically
corCFA

Confirmatory Factor Analysis of a Multiple Indicator Measurement Model
Logit

Logit Regression Analysis
showColors

Display All Named R Colors and Corresponding rgb Values
CountAll

CountAll Descriptive Analysis of all Variables in the Data Frame
Model

Regression Analysis, ANOVA or t-test
dataJackets

Data: Motorcycle Type and Thickness of Jacket
dataReading

Data: Reading Ability
xW

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

Subset the Values of an Integer or Factor Variable
xNum

Text Processing: Convert a Number to a Word
ttest

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

Bar Chart for One or Two Variables
corRead

Read Specified Correlation Matrix
PieChart

Pie Chart
ScatterPlot

Scatterplot for One or Two Variables
corProp

Proportionality Coefficients from Correlations
simFlips

Pedagogical Binomial Simulation, Coin flips
Write

Write the Contents of a Data Frame to an External File
prob.znorm

Plot a Normal Curve with Shaded Intervals by Standard Deviation
prob.tcut

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

Data: Machiavellianism
Recode

Recode the Values of an Integer or Factor Variable
values

List the Values of a Variable
Correlation

Correlation Analysis
ttestPower

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

Text Processing: Capitalize First Letter of a Word
Transform

Transform the Values of an Integer or Factor Variable
corScree

Eigenvalue Plot of a Correlation Matrix
Help

Help System for Statistics by Topic that Suggests Related Functions
xRow

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

regPlot Analysis
simMeans

Pedagogical Simulation of Sample Means over Repeated Samples
print.out_all

Disply All Text Output from a Saved List Object
Read

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

Text Processing: Print Formatted Numbers