Learn R Programming

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

lessR (version 3.6.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 including the introduced here Violin/Box/Scatter plot for a numerical variable, bar chart, histogram, box plot, density curves, calibrated power curve, reading multiple data formats with the same function call, variable labels, color themes, Trellis graphics 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.6.6

License

GPL (>= 2)

Maintainer

David W Gerbing

Last Published

September 9th, 2017

Functions in lessR (3.6.6)

Histogram

Histogram
LineChart

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

Logit Regression Analysis
Merge

Merge Two Data Frames Horizontally or Vertically
Correlation

Correlation Analysis
CountAll

CountAll Descriptive Analysis of all Variables in the Data Frame
ANOVA

Analysis of Variance
BarChart

Bar Chart for One or Two Variables
Density

Density Curves from Data plus Histogram
Help

Help System for Statistics by Topic that Suggests Related Functions
Model

Regression Analysis, ANOVA or t-test
PieChart

Pie Chart
Subset

Subset the Values of an Integer or Factor Variable
Nest

Nest the Values of an Integer or Factor Variable
Read

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

Recode the Values of an Integer or Factor Variable
corEFA

Exploratory Factor Analysis and Multiple Indicator Measurement Model
corProp

Proportionality Coefficients from Correlations
SummaryStats

Summary Statistics for One or Two Variables
corReorder

Reorder Variables in a Correlation Matrix
corScree

Eigenvalue Plot of a Correlation Matrix
details

Display Contents of a Data File and Optional Variable Labels
label

Assign Variable Labels [Superseded by VariableLabels]
Sort

Sort the Rows of a Data Frame
Write

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

Data: Reading Ability
dataStockPrice

Data: Stock price of Apple, IBM and Intel from 1980 into 2017
prob.znorm

Plot a Normal Curve with Shaded Intervals by Standard Deviation
regPlot

regPlot Analysis
Regression

Regression Analysis
xNum

Text Processing: Convert a Number to a Word
xP

Text Processing: Print Formatted Numbers
simCImean

Pedagogical Simulation for the Confidence Interval of the Mean
simCLT

Pedagogical Simulation for the Central Limit Theorem
ttest

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

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

Confirmatory Factor Analysis of a Multiple Indicator Measurement Model
dataLearn

Data: Distributed vs Massed Practice
dataMach4

Data: Machiavellianism
prob.norm

Compute and Plot Normal Curve Probabilities over an Interval
prob.tcut

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

Set the Default Color Theme and Other System Settings
to

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

Read Specified Correlation Matrix
corReflect

Reflect Specified Variables in a Correlation Matrix
dataEmployee

Data: Employees
dataJackets

Data: Motorcycle Type and Thickness of Jacket
print.out_all

Display All Text Output from a Saved List Object
print.out_piece

Display a Portion of Output from a Saved List Object
values

List the Values of a Variable
Plot

Plot One or Two Continuous and/or Categorical Variables
Transform

Transform the Values of an Integer or Factor Variable
VariableLabels

Return or Assign a Variable Label
dataBodyMeas

Data: Body Measurements
dataCars93

Data: Cars93
showColors

Display All Named R Colors and Corresponding rgb Values
showWheel

Hue, Chroma, Luminance (hcl) Color Space Wheel
simFlips

Pedagogical Binomial Simulation, Coin flips
simMeans

Pedagogical Simulation of Sample Means over Repeated Samples
xW

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

Text Processing: Insert and Into a List
xRow

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

Text Processing: Capitalize First Letter of a Word