Learn R Programming

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

lessR (version 2.4.1)

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

2,132

Version

2.4.1

License

GPL (>= 2)

Maintainer

David W Gerbing

Last Published

July 20th, 2012

Functions in lessR (2.4.1)

Help

Help System for Statistics by Topic that Suggests Related Functions
BarChart

Bar Chart of One or Two Variables
qnt.t

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

Analysis of Variance
Correlation

Correlation Analysis
ttest

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

Summary Statistics for One or Two Variables
corProp

Proportionality Coefficients from Correlations
Density

Density Curves from Data plus Histogram
Histogram

Histogram with Color
values

List the Values of a Variable
LineChart

Run Chart or Time-Series Chart
CountAll

CountAll Descriptive Analysis of all Variables in the Data Frame
label

Apply a Variable Label to a non-lessR Function
corReorder

Reorder Variables in a Correlation Matrix
simCLT

Pedagogical Simulation for the Central Limit Theorem
simCImean

Pedagogical Simulation for the Confidence Interval of the Mean
corRead

Read Specified Correlation Matrix into an R Matrix Named mycor
showColors

Display All Named R Colors and Their rgb Values
corListVars

List Ordinal Position of Specified Variables in a Correlation Matrix
datTwoGroup

Data: ShipTimes of Two Suppliers
datMach4

Data: Machiavellianism Data
set

Set the Default Color Theme and Other System Settings
Write

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

Boxplot
simMeans

Pedagogical Simulation of Sample Means over Repeated Samples
ttestPower

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

Pie Chart
prob.znorm

Plot a Normal Curve with Shaded Intervals by Standard Deviation
corScree

Eigenvalue Plot of a Correlation Matrix
datEmployee

Data: Employees
Plot

scatterplot for One (Dot Plot) or Two Variables
Recode

Recode the Values of an Integer or Factor Variable
to

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

Exploratory Factor Analysis and Multiple Indicator Measurement Model
Read

Read and Display Contents of a Data File and Optional Variable Labels
prob.norm

Compute and Plot Normal Curve Probabilities over an Interval
corCFA

Confirmatory Factor Analysis of Multiple Indicator Measurement Models
Regression

Regression Analysis
simFlips

Pedagogical Binomial Simulation, Coin flips
corReflect

Reflect Specified Variables in a Correlation Matrix
Model

Regression Analysis, ANOVA or t-test