Package: lessR 4.5.5

lessR: Less Code with More Comprehensive Results

Each function replaces multiple standard R functions. For example, two function calls, Read() and CountAll(), generate summary statistics for all variables in the data frame, plus histograms and bar charts. Other functions provide data aggregation via pivot tables; comprehensive regression, ANOVA, and t-test; visualizations including integrated Violin/Box/Scatter plot for a numerical variable, bar chart, histogram, box plot, density curves, calibrated power curve; reading multiple data formats with the same call; variable labels; time series with aggregation and forecasting; color themes; and Trellis (facet) graphics. Also includes a confirmatory factor analysis of multiple-indicator measurement models, pedagogical routines for data simulation (e.g., Central Limit Theorem), generation and rendering of regression instructions for interpretative output, and both interactive construction of visualizations and interactive visualizations with plotly.

Authors:David W. Gerbing [aut, cre]

lessR_4.5.5.tar.gz
lessR_4.5.5.zip(r-4.7)lessR_4.5.5.zip(r-4.6)lessR_4.5.5.zip(r-4.5)
lessR_4.5.5.tgz(r-4.6-any)lessR_4.5.5.tgz(r-4.5-any)
lessR_4.5.5.tar.gz(r-4.7-any)lessR_4.5.5.tar.gz(r-4.6-any)
lessR_4.5.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
lessR/json (API)

# Install 'lessR' in R:
install.packages('lessR', repos = c('https://dgerbing.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dgerbing/lessr/issues

Datasets:

On CRAN:

Conda:

7.68 score 3 packages 528 scripts 2.6k downloads 3 mentions 115 exports 93 dependencies

Last updated from:11c51d5845. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK254
source / vignettesOK308
linux-release-x86_64OK257
macos-release-arm64OK201
macos-oldrel-arm64OK294
windows-develOK226
windows-releaseOK215
windows-oldrelOK195
wasm-releaseOK179

Exports:.ANOVAavav_briefBarChartBoxPlotbxcacfaChartcorCFAcorEFAcorPrintcorPropcorReadcorReflectCorrelationcorReordercorScreeCountAllcpcrcr_briefdbDensitydetailsefafactorsFlowsgetColorsHistogramhsinteractkurtosislabelLogitlrMergemodelModelmodel_briefmrgNestorder_bypcPieChartpivotPlotprint.outprint.out_allprob_normprob_tcutprob_znormpropProp_testrdrd_lblrd.corReadRead2recodereflectregreg_briefregPlotRegressionrenamereordrescalereshape_longreshape_widesavePlotlyscalesScatterPlotscreeseeshowColorsshowPalettessimCImeansimCLTsimFlipssimMeansskewspssss_briefSTLstyleSubsetSummaryStatstotrain_testTransformtttt_briefttestttestPowerttpvaluesVariableLabelsViolinPlotvlvpWritewrtwrt_rwrt_xXxAndxNumxPxRowxUxWXY

Dependencies:askpassbase64encbslibcachemclicolorspacecommonmarkconflictedcpp11crosstalkcurldata.tabledeldirDEoptimRdigestdplyrellipseevaluatefarverfastmapfontawesomefsgenericsggplot2gluegtablehighrhtmltoolshtmlwidgetshttpuvhttrinterpisobandjpegjquerylibjsonlitekableExtraknitrlabelinglaterlatticelatticeExtralazyevalleapslifecyclemagrittrMASSmemoisemimeopensslopenxlsxotelpillarpkgconfigplotlypngpromisespurrrR6rappdirsRColorBrewerRcppRcppEigenrlangrmarkdownrobustbaserstudioapiS7sassscalesshinysourcetoolsstringistringrsvglitesyssystemfontstextshapingtibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunxml2xtablextsyamlzipzoo

Data: Read, Write
Data Table | Read the Data into R | Browse for the data file | Specify location of the data file | Output of Read() | Two types of variables | Read Variable Labels | Write the Data Table to a File | Read SPSS (and SAS and Stata) Files | Value labels | Variable labels | Full Manual

Last update: 2026-05-25
Started: 2026-05-25

Data: Subset a Data Frame
Subset a Data Frame with Base R Extract[] | Annoying Features of Base R Extract | More Flexible Use of Extract[] | Missing Data | Random Selection of Rows

Last update: 2026-05-25
Started: 2026-05-25

Data: Summary Statistics with a Pivot Table
Overview | Descriptive Statistics | Parameters | Output | Output as a Long-Form Data Frame | Multiple Grouping Variables | Aggregate with Multiple Statistics | Aggregate Multiple Variables | Compute over All Data | Frequency Tables | Quantiles | Other Features | Drill-Down | Sort Output | Pipe Operator | Output as a 2-D Table | Missing Data | Some Missing Data at a Level of a by Variable | All Missing Data at a Level of a by Variable | Missing Data for a Level of the by Variable Itself | Build Your Own Function | lessR pivot() vs Base R aggregate()

Last update: 2026-05-25
Started: 2026-05-25

Data: Utilities
Recode Data Values | Examples | Missing Data | Sort Rows of Data | Rescale Data | Rename a Variable in a Data Frame | Create Factor Variables | Reshape Data | Reshape Data Wide to Long | Reshape Data Long to Wide | Create Training and Testing Data

Last update: 2026-05-25
Started: 2026-05-25

Visualize Data Collected over Time
Run Chart | Time Series Chart | Dates | Daily Data | Weekly Data | Monthly Data | Quarterly Data | Annual Data | A Single Time Series | Multiple Time Series | One One Panel | Facets | Aggregation by Time | Forecast | Missing Data | Entire Record Missing | Only the y-value is Missing | Data Structures | Long-Format Data | R Time-Series Object Data | Annotation | Full Manual | More

Last update: 2026-05-25
Started: 2026-05-25

Visualize: Charts
Data | Read | Chart of One Variable | Bar Chart | Pie Chart | Other Hierarchical Charts | Other Charts | Specify the Numerical Variable | Statistical Transformation of $y$ | Stacked Bar or Bubble Charts | Chart of Two Categorical Variables | Standard Bar Charts | Sunburst Chart | Trellis or Facet Plots | 100% Stacked Bar Chart | Long Value Labels | Customization | One Categorical Variable | Custom Colors | Axis Labels | Rotate Labels | Format Labels | Two Categorical Variables | Annotation | Variable Labels | Filter Rows | Interactive Bar Chart | Full Manual | More

Last update: 2026-05-25
Started: 2026-05-25

Visualize: Histogram and Related
Data | Histogram | Customize the Histogram | Density Plot | VBS Plot | Interactive Input to Create a Histogram | Full Manual | More

Last update: 2026-05-25
Started: 2026-05-25

Visualize: Scatter, Box, and Violin Plots
The Data | Continuous Variables | Two Variables | Three Variables | VBS Plot of 5 Variables | Scatterplot Matrix | Smoothed, Contoured, and Binned Scatterplots | Cleveland Dot Plot | Categorical and Continuous Variables | Two Continuous, One Categorical | One Continuous, One Categorical | Two Continuous, Three Categorical | Categorical Variables | Input Interactive Plots | Full Manual | More

Last update: 2026-05-25
Started: 2026-05-25

Models: Mean Inference, t-test and ANOVA
One-Sample t-test | Two-Samples t-test | Independent Groups | Dependent Groups | ANOVA | One-way Independent Groups | Two-way Independent Groups | Randomized Block Design | Full Manual

Last update: 2026-05-25
Started: 2026-05-25

Models: Proportion Inference
Test a Specified Proportion | Single Proportion | From Input Frequencies | From Data | Multiple Proportions | Tests without a Specified Proportion | Goodness-of-Fit | Independence

Last update: 2026-05-25
Started: 2026-05-25

Models: Regression, Least-Squares and Logistic
Default Analysis | Brief Output | Full Output | Standardize the Variables | k-fold Cross-validation | Output as a Stored Object | Contrasts | Null Model | Likert Type Data | Analysis of Covariance | Moderation Analysis | Logistic Regression | Change Classification Threshold | Plot Conditional Means across Bins | Interpreted Output | Full Manual

Last update: 2026-05-25
Started: 2026-05-25

Factor Analysis: Exploratory, Confirmatory
Data | Exploratory Factor Analysis | Confirmatory Factor Analysis | Re-order the Correlation Matrix | Hierarchical Cluster Analysis | Manual Reorder | Full Manual

Last update: 2026-05-25
Started: 2026-05-25

Customize: Colors
Color Palettes | Qualitative Scales | Sequential Scales | Divergent Scales | Other Scales | Manual Specification of Colors | Visualization Themes | Full Manual

Last update: 2026-05-25
Started: 2026-05-25

Readme and manuals

Help Manual

Help pageTopics
Function . for Selecting Rows/Columns with base R Extract.
Analysis of VarianceANOVA av av_brief
Charts for One or Two Categorical VariablesBarChart Chart pc PieChart
Confirmatory Factor Analysis of a Multiple Indicator Measurement Modelcfa corCFA scales
Exploratory Factor Analysis and Multiple Indicator Measurement ModelcorEFA efa
Print a Correlation Matrix with Special FormattingcorPrint
Proportionality Coefficients from CorrelationscorProp cp
Read Specified Correlation MatrixcorRead rd.cor
Reflect Specified Variables in a Correlation MatrixcorReflect reflect
Correlation AnalysisCorrelation cr cr_brief
Reorder Variables in a Correlation MatrixcorReorder reord
Eigenvalue Plot of a Correlation MatrixcorScree scree
CountAll Descriptive Analysis of all Variables in the Data Frameca CountAll
Data for a One-Way ANOVAdataAnova_1way
Data for a Two-Way Balanced Factorial DesigndataAnova_2way
Data for a Randomized Block ANOVAdataAnova_rb
Data for a Randomized Block Factorial ANOVAdataAnova_rbf
Data for a Split-Plot ANOVAdataAnova_sp
Data: Body MeasurementsdataBodyMeas
Data: Cars93dataCars93
Data: EmployeesdataEmployee
VariableLabels: Employee Data SetdataEmployee_lbl
Data: Joint Frequency TabledataFreqTable99
Data: Motorcycle Type and Thickness of JacketdataJackets
Data: Distributed vs Massed PracticedataLearn
Data: MachiavellianismdataMach4
VariableLabels: Mach4 Data SetdataMach4_lbl
Data: Reading AbilitydataReading
Data: Stock price of Apple, IBM and Intel from 1985 through May of 2024dataStockPrice
Data: WeightLossdataWeightLoss
Display Contents of a Data File and Optional Variable Labelsdb details
Create Factor Variables Across a Sequential Range or Vector of Variablesfactors
Sankey Flow Diagram (2- or 3-Stage) with PlotlyFlows
Hue, Chroma, Luminance (HCL) Color Wheel or Specified ColorsgetColors
Run Interactive Shiny Data Visualizationsinteract
Kurtosiskurtosis
Assign Variable Labels [Superseded by VariableLabels]label
Logit Regression AnalysisLogit lr
Merge Two Data Frames Horizontally or VerticallyMerge mrg
Regression Analysis, ANOVA or t-testModel model model_brief
Nest the Values of an Integer or Factor VariableNest nt
order_by the Rows of a Data Frameorder_by
Create a Pivot (Summary) Tablepivot
Display a Portion of Output from a Saved List Objectprint.out
Display All Text Output from a Saved List Objectprint.out_all
Compute and Plot Normal Curve Probabilities over an Intervalprob_norm
Plot t-distribution Curve and Specified Cutoffs with Normal Curveprob_tcut
Plot a Normal Curve with Shaded Intervals by Standard Deviationprob_znorm
Analysis of Prop_testprop Prop_test
Read Contents of a Data File with Optional Variable Labels and Feedbackrd rd_lbl Read Read2
Recode the Values of an Integer or Factor Variablerecode
regPlot AnalysisregPlot
Regression Analysisreg Regression reg_brief
Rename One or More Variables in a Data Framerename
Rescale a Variablerescale
Reshape a Wide-Form Data Frame to Long-Formreshape_long
Reshape a Long-Form Data Frame to Wide-Formreshape_wide
Save the last Plotly chart to a standalone HTML filesavePlotly
View the Upper and Left Corners of a Data Framesee
Display All Named R Colors and Corresponding rgb ValuesshowColors
Display Color PalettesshowPalettes
Pedagogical Simulation for the Confidence Interval of the MeansimCImean
Pedagogical Simulation for the Central Limit TheoremsimCLT
Pedagogical Binomial Simulation, Coin flipssimFlips
Pedagogical Simulation of Sample Means over Repeated SamplessimMeans
Skew of a variable.skew
Seasonal and Trend Decomposition of a Time Series via LoessSTL
Set the Default Color Theme and Other System Settingsstyle
Subset the Values of One or More VariablesSubset
Summary Statistics for One or Two Variablesss ss_brief SummaryStats
Create a Sequence of Numbered Variable Names with a Common Prefix and Widthto
Create Training and Testing Datatrain_test
Deprecated: Transform the Values of an Integer or Factor VariableTransform
Generic Method for t-test and Standardized Mean Difference with Enhanced Graphicstt ttest tt_brief
Compute a Power Curve for a One or Two Group t-testttestPower ttp
List the Values of a Variablevalues
Create or Display Variable LabelsVariableLabels vl
Write the Contents of a Data Frame to an External FileWrite wrt wrt_r wrt_x
Univariate and Grouped Displays for a Continuous VariableBoxPlot bx Density Histogram hs ViolinPlot vp X
Text Processing: Insert and Into a ListxAnd
Text Processing: Convert a Number to a WordxNum
Text Processing: Print Formatted NumbersxP
Text Processing: Add the Word Row to Case Labels that Could be NumericxRow
Text Processing: Capitalize First Letter of a WordxU
Text Processing: Wrap Words to Create New Lines From a Specified LinexW
Scatterplots including Time SeriesPlot ScatterPlot sp XY