CRAN status downloads downloads License: GPL v2+ Lifecycle: maturing R build status pkgdown

Tools for Building Regression and Classification Models

There is a rich selection of R packages implementing algorithms for classification and regression tasks out there. The authors legitimately take the liberty to tailor the function interfaces according to their own taste and needs. For us other users, however, this often results in struggling with user interfaces, some of which are rather weird - to put it mildly - and almost always different in terms of arguments and result structures. ModTools pursues the goal of offering uniform handling for the most important regression and classification models in applied data analyses. The function FitMod() is designed as a simple and consistent interface to these original functions while maintaining the flexibility to pass on all possible arguments. print, plot, summary and predict operations can so be carried out following the same logic. The results will again be reshaped to a reasonable standard. For all the functions of this package Google styleguides are used as naming rules (in absence of convincing alternatives). The ’BigCamelCase’ style has been consequently applied to functions borrowed from contributed R packages as well.

As always: Feedback, feature requests, bug reports and other suggestions are welcome! Please report problems to GitHub issues tracker (preferred) or directly to the maintainer.

Installation

You can install the released version of ModTools from CRAN with:

install.packages("ModTools")

And the development version from GitHub with:

if (!require("remotes")) install.packages("remotes")
remotes::install_github("AndriSignorell/ModTools")

Warning

Warning: This package is still under development. Although the code seems meanwhile quite stable, until release of version 1.0 you should be aware that everything in the package might be subject to change. Backward compatibility is not yet guaranteed. Functions may be deleted or renamed and new syntax may be inconsistent with earlier versions. By release of version 1.0 the “deprecated-defunct process” will be installed.

Authors

Andri Signorell
Helsana Versicherungen AG, Health Sciences, Zurich
HWZ University of Applied Sciences in Business Administration Zurich.

R is a community project. This can be seen from the fact that this package includes R source code and/or documentation previously published by various authors and contributors. Special thanks go to Beat Bruengger, Mathias Frueh, Daniel Wollschlaeger for their valuable contributions and testing. The good things come from all these guys, any problems are likely due to my tweaking. Thank you all!

Maintainer: Andri Signorell

Examples

library(ModTools)
demo(bin_mod, package = "ModTools")
demo(mult_mod, package = "ModTools")
demo(num_mod, package = "ModTools")