Skip to content

ModStatR

1.4.2

Statistical Modelling in Action with R

0packages depend
6.3Kdownloads / year
93.9%test coverage
13/13checks pass

Overview

About
Maintained by Frederic BertrandFirst published 2019-09-307 releasesCRAN page ↗GitHub ↗

Datasets and functions for the book "Modélisation statistique par la pratique avec R", F. Bertrand, E. Claeys and M. Maumy-Bertrand (2019, ISBN:9782100793525, Dunod, Paris). The first chapter of the book is dedicated to an introduction to the R statistical software. The second chapter deals with correlation analysis: Pearson, Spearman and Kendall simple, multiple and partial correlation coefficients. New wrapper functions for permutation tests or bootstrap of matrices of correlation are provided with the package. The third chapter is dedicated to data exploration with factorial analyses (PCA, CA, MCA, MDA) and clustering. The fourth chapter is dedicated to regression analysis: fitting and model diagnostics are detailed. The exercises focus on covariance analysis, logistic regression, Poisson regression, two-way analysis of variance for fixed or random factors. Various example datasets are shipped with the package: for instance on pokemon, world of warcraft, house tasks or food nutrition analyses.

Install

Health

CRAN checks
13OK
Slowest check: 1.3 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.34
93.9%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
92%
References docs
3%

Downloads

6.3K
CRAN downloads in the past year
Rank #6,113 · ~17/day · ~523/mo
Daily download trend is not available in this view yet.
35630 days
1.6K90 days
6.3K1 year
Compare downloads with other packages →
Also on197 r2u29 autocran

Repository

Repository
5Stars
2Forks
0Open issues
0Open PRs
2Releases
27Commits
1Contributors
27 commits · Last activity 2025-09-24

Stars over time

2021-03-15 · 52026-07-07 · 5

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/fbertran/modstatr on 2026-07-19.

Continuous integration (1)
GitHub Actions
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 990 (51%)Rd 939 (49%)
Code characteristics
Cyclomatic complexity
2.0 median / 4 max
Test cases
22 / 0.34 per code line

Test coverage

Line coverage

94%

Expression

95.0%

Tests / Examples

93.9% / 96% ex

Functions

12 12 exported

Complexity

2.3 avg / 4 max

Call network

12 nodes / 2 edges

Loading call graph…

Lowest coverage

12 functions
FunctionCycloCoverage
Gauss2F1 exp267%
Gauss2F1gsl exp267%
my.confidence.region exp469%
boot.mcor.ic exp3100%
corrdist exp1100%
corrdistapprox exp1100%

Datasets

Bundled datasets · 4
NameClassRows × ColsAlso ships in
d_macdodata.frame260 × 24
d_wowdata.frame160 × 12
data_eventdata.frame208,446 × 40
pokedata.frame800 × 13

People & History

People (3)
Maintainer (1)
Maintainer, Author
Authors (3)
Maintainer, Author
Package Timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.4.2Latest
    2026-05-03 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.4.1
    2025-09-13 · diff ↗
  • 1.4.0
    2025-08-28 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.3.3
    2023-03-24 · diff ↗
  • 1.3.2
    2022-11-28 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.3.1
    2021-03-14 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.3.0
    2019-09-30
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-09-30
Total releases
7 / 7 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Bundled data
2.2 MB / 19 files
Download size
2.3 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →