Learn R Programming

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

lessR (version 2.8)

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,521

Version

2.8

License

GPL (>= 2)

Maintainer

David W Gerbing

Last Published

January 4th, 2013

Functions in lessR (2.8)

corProp

Proportionality Coefficients from Correlations
Correlation

Correlation Analysis
Merge

Merge Two Data Frames Horizontally or Vertically
dataReading

Data: Reading Ability
Read

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

Reorder Variables in a Correlation Matrix
ScatterPlot

Scatterplot for One (Dot Plot) or Two Variables
to

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

Pedagogical Simulation for the Confidence Interval of the Mean
ANOVA

Analysis of Variance
LineChart

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

Data: Employees
Subset

Subset the Values of an Integer or Factor Variable
Help

Help System for Statistics by Topic that Suggests Related Functions
corCFA

Confirmatory Factor Analysis of Multiple Indicator Measurement Models
corRead

Read Specified Correlation Matrix into an R Matrix Named mycor
dataLearn

Data: Distributed vs Massed Practice
corReflect

Reflect Specified Variables in a Correlation Matrix
Histogram

Histogram with Color
simCLT

Pedagogical Simulation for the Central Limit Theorem
corScree

Eigenvalue Plot of a Correlation Matrix
Model

Regression Analysis, ANOVA or t-test
corEFA

Exploratory Factor Analysis and Multiple Indicator Measurement Model
Regression

Regression Analysis
label

Apply a Variable Label to a non-lessR Function
Logit

Logit Analysis
dataMach4

Data: Machiavellianism Data
Recode

Recode the Values of an Integer or Factor Variable
simFlips

Pedagogical Binomial Simulation, Coin flips
Transform

Transform the Values of an Integer or Factor Variable
dataCars93

Data: Cars93
Density

Density Curves from Data plus Histogram
prob.tcut

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

Sort the Rows of a Data Frame
SummaryStats

Summary Statistics for One or Two Variables
values

List the Values of a Variable
CountAll

CountAll Descriptive Analysis of all Variables in the Data Frame
PieChart

Pie Chart
set

Set the Default Color Theme and Other System Settings
ttest

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

Boxplot
dataJackets

Data: Motorcycle Type and Thickness of Jacket
BarChart

Bar Chart of One or Two Variables
Write

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

Plot a Normal Curve with Shaded Intervals by Standard Deviation
ttestPower

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

Pedagogical Simulation of Sample Means over Repeated Samples
prob.norm

Compute and Plot Normal Curve Probabilities over an Interval
showColors

Display All Named R Colors and Their rgb Values