Learn R Programming

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

lessR (version 2.9.2)

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, ANOVA and t-test, plotting, bar chart, histogram, box plot, density curves, calibrated power curve, the reading and display of csv and other formatted data 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,224

Version

2.9.2

License

GPL (>= 2)

Maintainer

David W Gerbing

Last Published

May 8th, 2013

Functions in lessR (2.9.2)

CountAll

CountAll Descriptive Analysis of all Variables in the Data Frame
Density

Density Curves from Data plus Histogram
Help

Help System for Statistics by Topic that Suggests Related Functions
simFlips

Pedagogical Binomial Simulation, Coin flips
BoxPlot

Boxplot
Merge

Merge Two Data Frames Horizontally or Vertically
corEFA

Exploratory Factor Analysis and Multiple Indicator Measurement Model
Read

Read and Display Contents of a Data File and Optional Variable Labels
Logit

Logit Regression Analysis
dataMach4

Data: Machiavellianism
Transform

Transform the Values of an Integer or Factor Variable
SummaryStats

Summary Statistics for One or Two Variables
Recode

Recode the Values of an Integer or Factor Variable
dataBodyMeas

Data: Body Measurements
PieChart

Pie Chart
simMeans

Pedagogical Simulation of Sample Means over Repeated Samples
to

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

Data: Motorcycle Type and Thickness of Jacket
prob.norm

Compute and Plot Normal Curve Probabilities over an Interval
simCImean

Pedagogical Simulation for the Confidence Interval of the Mean
dataCars93

Data: Cars93
ttest

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

Histogram with Color
dataLearn

Data: Distributed vs Massed Practice
Write

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

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

Data: Employees
ScatterPlot

Scatterplot for One (Dot Plot) or Two Variables
Subset

Subset the Values of an Integer or Factor Variable
corProp

Proportionality Coefficients from Correlations
prob.znorm

Plot a Normal Curve with Shaded Intervals by Standard Deviation
corCFA

Confirmatory Factor Analysis of a Multiple Indicator Measurement Model
simCLT

Pedagogical Simulation for the Central Limit Theorem
values

List the Values of a Variable
Nest

Nest the Values of an Integer or Factor Variable
LineChart

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

Display Contents of a Data File and Optional Variable Labels
corReflect

Reflect Specified Variables in a Correlation Matrix
showColors

Display All Named R Colors and Their rgb Values
Sort

Sort the Rows of a Data Frame
corReorder

Reorder Variables in a Correlation Matrix
prob.tcut

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

Correlation Analysis
Model

Regression Analysis, ANOVA or t-test
Regression

Regression Analysis
corScree

Eigenvalue Plot of a Correlation Matrix
set

Set the Default Color Theme and Other System Settings
corRead

Read Specified Correlation Matrix
label

Apply a Variable Label to a non-lessR Function
dataReading

Data: Reading Ability
BarChart

Bar Chart of One or Two Variables
ANOVA

Analysis of Variance