Package: regtools 1.7.3

regtools: Regression and Classification Tools

Tools for linear, nonlinear and nonparametric regression and classification. Novel graphical methods for assessment of parametric models using nonparametric methods. One vs. All and All vs. All multiclass classification, optional class probabilities adjustment. Nonparametric regression (k-NN) for general dimension, local-linear option. Nonlinear regression with Eickert-White method for dealing with heteroscedasticity. Utilities for converting time series to rectangular form. Utilities for conversion between factors and indicator variables. Some code related to "Statistical Regression and Classification: from Linear Models to Machine Learning", N. Matloff, 2017, CRC, ISBN 9781498710916.

Authors:Norm Matloff [aut, cre], Robin Yancey [aut], Bochao Xin [ctb], Kenneth Lee [ctb], Rongkui Han [ctb]

regtools_1.7.3.tar.gz
regtools_1.7.3.zip(r-4.5)regtools_1.7.3.zip(r-4.4)regtools_1.7.3.zip(r-4.3)
regtools_1.7.3.tgz(r-4.4-any)regtools_1.7.3.tgz(r-4.3-any)
regtools_1.7.3.tar.gz(r-4.5-noble)regtools_1.7.3.tar.gz(r-4.4-noble)
regtools_1.7.3.tgz(r-4.4-emscripten)regtools_1.7.3.tgz(r-4.3-emscripten)
regtools.pdf |regtools.html
regtools/json (API)

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

Peer review:

Bug tracker:https://github.com/matloff/regtools/issues

Datasets:
  • courseRecords - Records from several offerings of a certain course.
  • currency - Pre-Euro Era Currency Fluctuations
  • day - Bike sharing data.
  • day1 - Bike sharing data.
  • day2 - Bike sharing data.
  • english - English vocabulary data
  • falldetection - Fall Detection Data
  • ltrfreqs - Letter Frequencies
  • mlb - Major Leage Baseball player data set.
  • mlens - MovieLens User Summary Data
  • newadult - UCI adult income data set, adapted
  • oliveoils - Italian olive oils data set.
  • peDumms - Silicon Valley programmers and engineers data
  • peFactors - Silicon Valley programmers and engineers data
  • pef - Silicon Valley programmers and engineers data
  • phoneme - Phoneme Data
  • prgeng - Silicon Valley programmers and engineers data
  • quizDocs - Course quiz documents
  • quizzes - Course quiz documents
  • sw - Swiss Roll
  • weatherTS - Weather Time Series
  • yell10k - New York Taxi Data

On CRAN:

9.29 score 126 stars 3 packages 48 scripts 545 downloads 6 mentions 93 exports 85 dependencies

Last updated 8 days agofrom:7e7573e5be. Checks:OK: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 14 2024
R-4.5-winWARNINGNov 14 2024
R-4.5-linuxWARNINGNov 14 2024
R-4.4-winWARNINGNov 14 2024
R-4.4-macWARNINGNov 14 2024
R-4.3-winWARNINGNov 14 2024
R-4.3-macWARNINGNov 14 2024

Exports:allNumericavalogpredavalogtrnbestKperPointboundaryplotcatDFRowcharsToFactorsclassadjustcoef.lmacconfusionconstColsdiagNeuraldiscretizedoPCAdummiesToFactordummiesToIntexploreExpVarsfactorsToDummiesfactorTo012etcfactorToDummiesfindOverallLossfineTuningfineTuningMultfineTuningPargetDFclassesgetNamedArgshasCharactershasFactorskminkNNkNNallKknnestknnFineTuneknntrnkNNxvkrsFitkrsFitImgl1l2lmacloclinloclogitloglinacmakeNAMAPEmeanymedianymmmmscalemultColsNAsTo0snlshcnonparvarplotnonparvsxplotovaknntrnovalogtrnpartTrnTstparvsnonparplotpcacPCAwithFactorspenroseLMpenrosePolyplot.rlmplotExpVarspredict.knnpredict.ovaknnpredict.penroseLMpredict.penrosePolypreprocessxprobIncorrectClasspropMisclassprToFilepythonBlankSplitreplicMeansridgelmridgePolystdErrPredstopBrowsertbltofakedftextToXYtextToXYpredtoAllNumerictoSubFactortoSuperFactorTStoXTStoXmvulistunscalevaryvcov.lmacxyDataframeToMatrixxyzPlotZerosToNAs

Dependencies:abindbackportsbootbroomcarcarDataclicodetoolscolorspacecowplotcpp11data.tableDerivdigestdoBydplyrfansifarverfloatFNNforeachFormulagenericsggplot2glmnetgluegtablegtoolsisobanditeratorslabelinglatticelgrlifecyclelme4magrittrMASSMatrixMatrixExtraMatrixModelsmgcvmicrobenchmarkminqamlapimodelrmunsellmvtnormnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpolyregpurrrquantregR.methodsS3R.ooR.utilsR6RColorBrewerRcppRcppArmadilloRcppEigenRhpcBLASctlrjerlangrsparsesandwichscalesshapeSparseMstringistringrsurvivaltext2vectibbletidyrtidyselectutf8vctrsviridisLitewithrzoo

regtools

Rendered fromregtools.Rmdusingknitr::rmarkdownon Nov 14 2024.

Last update: 2022-03-29
Started: 2016-11-06

Readme and manuals

Help Manual

Help pageTopics
Overview and Package Reference Guideregtools-package regtools
Records from several offerings of a certain course.courseRecords
Pre-Euro Era Currency Fluctuationscurrency
Bike sharing data.day day1 day2
English vocabulary dataenglish
Factor Conversion UtilitiescharsToFactors discretize dummiesToFactor dummiesToInt factorsToDummies factorTo012etc factorToDummies getDFclasses hasCharacters hasFactors toAllNumeric toSubFactor toSuperFactor xyDataframeToMatrix
Fall Detection Datafalldetection
Grid Search Plus MorefineTuning fineTuningMult fineTuningPar knnFineTune plot.tuner
k-NN Nonparametric Regression and ClassificationbestKperPoint exploreExpVars kmin kNN kNNallK knnest knntrn kNNxv l1 l2 loclin loclogit MAPE meany mediany nonparvarplot nonparvsxplot parvsnonparplot plotExpVars predict.knn preprocessx vary
Tools for Neural NetworksdiagNeural krsFit krsFitImg predict.krsFit
Available Cases Method for Missing Datacoef.lmac lmac loglinac makeNA NAsTo0s pcac tbltofakedf vcov.lmac ZerosToNAs
Letter Frequenciesltrfreqs
UtilitiesdoPCA findOverallLoss getNamedArgs multCols partTrnTst PCAwithFactors probIncorrectClass propMisclass prToFile pythonBlankSplit replicMeans stdErrPred stopBrowser ulist
Major Leage Baseball player data set.mlb
MovieLens User Summary Datamlens
Method of Moments, Including Possible Regression Termsmm
Classification with More Than 2 Classesavalogpred avalogtrn boundaryplot classadjust confusion factorTo012ec ovaknntrn ovalogpred ovalogtrn predict.ovaknn
UCI adult income data set, adaptednewAdult newadult
Heteroscedastic Nonlinear Regressionnlshc
Italian olive oils data set.oliveoils
Penrose-Inverse Linear Models and Polynomial RegressionpenroseLM penrosePoly predict.penroseLM predict.penrosePoly ridgePoly
Phoneme Dataphoneme
Silicon Valley programmers and engineers datapeDumms pef peFactors prgeng
Course quiz documentsquizDocs quizzes
Ridge Regressionplot.rlm ridgelm
Swiss Rollsw SwissRoll
Tools for Text ClassificationtextToXY textToXYpred
Transform Time Series to Rectangular FormTStoX TStoXmv
Miscellaneous UtilitiesallNumeric catDFRow constCols mmscale unscale
Weather Time SeriesweatherTS
Misc. GraphicsxyzPlot
New York Taxi Datayell10k