Learn R Programming

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

lessR (version 2.9.3)

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

2,931

Version

2.9.3

License

GPL (>= 2)

Maintainer

David W Gerbing

Last Published

May 19th, 2013

Functions in lessR (2.9.3)

prob.norm

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

Plot a Normal Curve with Shaded Intervals by Standard Deviation
dataCars93

Data: Cars93
simCImean

Pedagogical Simulation for the Confidence Interval of the Mean
simMeans

Pedagogical Simulation of Sample Means over Repeated Samples
CountAll

CountAll Descriptive Analysis of all Variables in the Data Frame
BoxPlot

Boxplot
Nest

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

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

Analysis of Variance
Subset

Subset the Values of an Integer or Factor Variable
Logit

Logit Regression Analysis
Histogram

Histogram with Color
set

Set the Default Color Theme and Other System Settings
Merge

Merge Two Data Frames Horizontally or Vertically
dataBodyMeas

Data: Body Measurements
Density

Density Curves from Data plus Histogram
corProp

Proportionality Coefficients from Correlations
Sort

Sort the Rows of a Data Frame
corReflect

Reflect Specified Variables in a Correlation Matrix
dataLearn

Data: Distributed vs Massed Practice
Transform

Transform the Values of an Integer or Factor Variable
label

Apply a Variable Label to a non-lessR Function
dataMach4

Data: Machiavellianism
Correlation

Correlation Analysis
Write

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

Eigenvalue Plot of a Correlation Matrix
corCFA

Confirmatory Factor Analysis of a Multiple Indicator Measurement Model
ttestPower

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

Data: Reading Ability
LineChart

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

Regression Analysis, ANOVA or t-test
showColors

Display All Named R Colors and Their rgb Values
simCLT

Pedagogical Simulation for the Central Limit Theorem
SummaryStats

Summary Statistics for One or Two Variables
details

Display Contents of a Data File and Optional Variable Labels
Help

Help System for Statistics by Topic that Suggests Related Functions
dataEmployee

Data: Employees
dataJackets

Data: Motorcycle Type and Thickness of Jacket
to

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

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

Regression Analysis
ScatterPlot

Scatterplot for One (Dot Plot) or Two Variables
simFlips

Pedagogical Binomial Simulation, Coin flips
values

List the Values of a Variable
corRead

Read Specified Correlation Matrix
Recode

Recode the Values of an Integer or Factor Variable
corReorder

Reorder Variables in a Correlation Matrix
BarChart

Bar Chart of One or Two Variables
PieChart

Pie Chart
ttest

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

Exploratory Factor Analysis and Multiple Indicator Measurement Model