Learn R Programming

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

lessR (version 2.5)

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, color plotting, color bar chart, color histogram, color box plot, color density curves, a calibrated power curve, and the reading and display of csv and other formatted data. The function Help provides a help system that suggests specific analyses and functions. Variable labels, and color themes with the set function, are also 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.5

License

GPL (>= 2)

Maintainer

David W Gerbing

Last Published

August 10th, 2012

Functions in lessR (2.5)

Histogram

Histogram with Color
Help

Help System for Statistics by Topic that Suggests Related Functions
Logit

Logit Analysis
to

Create a Sequence of Numbered Variable Names with a Common Prefix
prob.znorm

Plot a Normal Curve with Shaded Intervals by Standard Deviation
corScree

Eigenvalue Plot of a Correlation Matrix
simCLT

Pedagogical Simulation for the Central Limit Theorem
corReorder

Reorder Variables in a Correlation Matrix
ANOVA

Analysis of Variance
Regression

Regression Analysis
corCFA

Confirmatory Factor Analysis of Multiple Indicator Measurement Models
Recode

Recode the Values of an Integer or Factor Variable
datMach4

Data: Machiavellianism Data
ScatterPlot

Scatterplot for One (Dot Plot) or Two Variables
set

Set the Default Color Theme and Other System Settings
qnt.t

Plot t-distribution Curve and Corresponding Normal Curve with Tail Cutoffs
simFlips

Pedagogical Binomial Simulation, Coin flips
showColors

Display All Named R Colors and Their rgb Values
BoxPlot

Boxplot
Model

Regression Analysis, ANOVA or t-test
CountAll

CountAll Descriptive Analysis of all Variables in the Data Frame
corProp

Proportionality Coefficients from Correlations
corRead

Read Specified Correlation Matrix into an R Matrix Named mycor
BarChart

Bar Chart of One or Two Variables
Transform

Transform the Values of an Integer or Factor Variable
label

Apply a Variable Label to a non-lessR Function
LineChart

Run Chart or Time-Series Chart
PieChart

Pie Chart
corReflect

Reflect Specified Variables in a Correlation Matrix
SummaryStats

Summary Statistics for One or Two Variables
ttestPower

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

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

Data: ShipTimes of Two Suppliers
corEFA

Exploratory Factor Analysis and Multiple Indicator Measurement Model
simMeans

Pedagogical Simulation of Sample Means over Repeated Samples
ttest

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

Write the Contents of Data Frame mydata to an External File
Sort

Sort the Rows of a Data Frame
Correlation

Correlation Analysis
datEmployee

Data: Employees
Density

Density Curves from Data plus Histogram
prob.norm

Compute and Plot Normal Curve Probabilities over an Interval
simCImean

Pedagogical Simulation for the Confidence Interval of the Mean
Subset

Subset the Values of an Integer or Factor Variable
values

List the Values of a Variable