Learn R Programming

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

lessR (version 3.7.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. Also includes a confirmatory factor analysis of multiple indicator measurement models, pedagogical routines for data simulation such as for the Central Limit Theorem, and generation of R markdown instructions for interpretative output.

Copy Link

Version

Install

install.packages('lessR')

Monthly Downloads

3,521

Version

3.7.6

License

GPL (>= 2)

Maintainer

David W Gerbing

Last Published

August 11th, 2018

Functions in lessR (3.7.6)

PieChart

Pie Chart
Plot

Plot One or Two Continuous and/or Categorical Variables
Histogram

Histogram
prob.znorm

Plot a Normal Curve with Shaded Intervals by Standard Deviation
Read

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

regPlot Analysis
Recode

Recode the Values of an Integer or Factor Variable
LineChart

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

Subset the Values of One or More Variables
corReorder

Reorder Variables in a Correlation Matrix
SummaryStats

Summary Statistics for One or Two Variables
Transform

Transform the Values of an Integer or Factor Variable
VariableLabels

Create or Display Variable Labels
dataEmployee

Data: Employees
dataEmployee_lbl

VariableLabels: Employee Data Set
Model

Regression Analysis, ANOVA or t-test
Nest

Nest the Values of an Integer or Factor Variable
corScree

Eigenvalue Plot of a Correlation Matrix
dataJackets

Data: Motorcycle Type and Thickness of Jacket
dataLearn

Data: Distributed vs Massed Practice
Regression

Regression Analysis
to

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

Exploratory Factor Analysis and Multiple Indicator Measurement Model
corRead

Read Specified Correlation Matrix
Sort

Sort the Rows of a Data Frame
ttest

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

Proportionality Coefficients from Correlations
dataMach4

Data: Machiavellianism
dataMach4_lbl

VariableLabels: Mach4 Data Set
dataReading

Data: Reading Ability
corReflect

Reflect Specified Variables in a Correlation Matrix
print.out_all

Display All Text Output from a Saved List Object
dataStockPrice

Data: Stock price of Apple, IBM and Intel from 1980 through 2017
print.out_piece

Display a Portion of Output from a Saved List Object
prob.norm

Compute and Plot Normal Curve Probabilities over an Interval
ttestPower

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

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

Confirmatory Factor Analysis of a Multiple Indicator Measurement Model
prob.tcut

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

Data: Body Measurements
values

List the Values of a Variable
doFactors

Create Factor Variables Across a Sequential Range or Vector of Variables
details

Display Contents of a Data File and Optional Variable Labels
dataCars93

Data: Cars93
xU

Text Processing: Capitalize First Letter of a Word
getColors

Hue, Chroma, Luminance (HCL) Color Wheel or Specified Colors
simCLT

Pedagogical Simulation for the Central Limit Theorem
xW

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

Display All Named R Colors and Corresponding rgb Values
simFlips

Pedagogical Binomial Simulation, Coin flips
xP

Text Processing: Print Formatted Numbers
xRow

Text Processing: Add the Word Row to Case Labels that Could be Numeric
label

Assign Variable Labels [Superseded by VariableLabels]
simCImean

Pedagogical Simulation for the Confidence Interval of the Mean
xAnd

Text Processing: Insert and Into a List
style

Set the Default Color Theme and Other System Settings
simMeans

Pedagogical Simulation of Sample Means over Repeated Samples
xNum

Text Processing: Convert a Number to a Word
Correlation

Correlation Analysis
ANOVA

Analysis of Variance
BarChart

Bar Chart for One or Two Variables
CountAll

CountAll Descriptive Analysis of all Variables in the Data Frame
Logit

Logit Regression Analysis
Merge

Merge Two Data Frames Horizontally or Vertically
Density

Density Curves from Data plus Histogram
Help

Help System for Statistics by Topic that Suggests Related Functions