Learn R Programming

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

lessR (version 2.4.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, 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

4,097

Version

2.4.2

License

GPL (>= 2)

Maintainer

David W Gerbing

Last Published

July 22nd, 2012

Functions in lessR (2.4.2)

values

List the Values of a Variable
simCLT

Pedagogical Simulation for the Central Limit Theorem
PieChart

Pie Chart
corReflect

Reflect Specified Variables in a Correlation Matrix
Write

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

Plot a Normal Curve with Shaded Intervals by Standard Deviation
simFlips

Pedagogical Binomial Simulation, Coin flips
datEmployee

Data: Employees
simMeans

Pedagogical Simulation of Sample Means over Repeated Samples
Plot

scatterplot for One (Dot Plot) or Two Variables
BarChart

Bar Chart of One or Two Variables
BoxPlot

Boxplot
Correlation

Correlation Analysis
qnt.t

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

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

Proportionality Coefficients from Correlations
Density

Density Curves from Data plus Histogram
to

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

Pedagogical Simulation for the Confidence Interval of the Mean
prob.norm

Compute and Plot Normal Curve Probabilities over an Interval
corScree

Eigenvalue Plot of a Correlation Matrix
Histogram

Histogram with Color
Model

Regression Analysis, ANOVA or t-test
corCFA

Confirmatory Factor Analysis of Multiple Indicator Measurement Models
label

Apply a Variable Label to a non-lessR Function
corEFA

Exploratory Factor Analysis and Multiple Indicator Measurement Model
ANOVA

Analysis of Variance
ttestPower

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

Data: ShipTimes of Two Suppliers
Help

Help System for Statistics by Topic that Suggests Related Functions
datMach4

Data: Machiavellianism Data
Regression

Regression Analysis
corListVars

List Ordinal Position of Specified Variables in a Correlation Matrix
Read

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

Summary Statistics for One or Two Variables
showColors

Display All Named R Colors and Their rgb Values
LineChart

Run Chart or Time-Series Chart
corReorder

Reorder Variables in a Correlation Matrix
CountAll

CountAll Descriptive Analysis of all Variables in the Data Frame
corRead

Read Specified Correlation Matrix into an R Matrix Named mycor
Recode

Recode the Values of an Integer or Factor Variable
set

Set the Default Color Theme and Other System Settings