Learn R Programming

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

lessR (version 2.6)

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.6

License

GPL (>= 2)

Maintainer

David W Gerbing

Last Published

October 25th, 2012

Functions in lessR (2.6)

BoxPlot

Boxplot
CountAll

CountAll Descriptive Analysis of all Variables in the Data Frame
Sort

Sort the Rows of a Data Frame
Logit

Logit Analysis
Regression

Regression Analysis
SummaryStats

Summary Statistics for One or Two Variables
set

Set the Default Color Theme and Other System Settings
dataEmployee

Data: Employees
corProp

Proportionality Coefficients from Correlations
Help

Help System for Statistics by Topic that Suggests Related Functions
simCLT

Pedagogical Simulation for the Central Limit Theorem
Recode

Recode the Values of an Integer or Factor Variable
Density

Density Curves from Data plus Histogram
corEFA

Exploratory Factor Analysis and Multiple Indicator Measurement Model
simCImean

Pedagogical Simulation for the Confidence Interval of the Mean
simFlips

Pedagogical Binomial Simulation, Coin flips
Histogram

Histogram with Color
corRead

Read Specified Correlation Matrix into an R Matrix Named mycor
Write

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

Generic Method for t-test and Standardized Mean Difference with Enhanced Graphics
prob.tcut

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

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

Correlation Analysis
label

Apply a Variable Label to a non-lessR Function
ScatterPlot

Scatterplot for One (Dot Plot) or Two Variables
prob.znorm

Plot a Normal Curve with Shaded Intervals by Standard Deviation
dataBikeJacket

Data: Motorcycle Type and Thickness of Jacket
values

List the Values of a Variable
corReorder

Reorder Variables in a Correlation Matrix
Subset

Subset the Values of an Integer or Factor Variable
to

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

Eigenvalue Plot of a Correlation Matrix
showColors

Display All Named R Colors and Their rgb Values
ttestPower

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

Pie Chart
corReflect

Reflect Specified Variables in a Correlation Matrix
dataCars93

Data: Cars93
Transform

Transform the Values of an Integer or Factor Variable
simMeans

Pedagogical Simulation of Sample Means over Repeated Samples
BarChart

Bar Chart of One or Two Variables
Model

Regression Analysis, ANOVA or t-test
Read

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

Confirmatory Factor Analysis of Multiple Indicator Measurement Models
prob.norm

Compute and Plot Normal Curve Probabilities over an Interval
ANOVA

Analysis of Variance
dataGroups2

Data: ShipTimes of Two Suppliers
dataMach4

Data: Machiavellianism Data