Skip to content

bridgedist

0.1.3

An Implementation of the Bridge Distribution with Logit-Link as in Wang and Louis (2003)

1packages depend
3.7Kdownloads / year
100.0%test coverage
13/13checks pass

Overview

About
Maintained by Bruce SwihartFirst published 2016-04-224 releasesCRAN page ↗GitHub ↗

An implementation of the bridge distribution with logit-link in R. In Wang and Louis (2003) DOI:10.1093/biomet/90.4.765, such a univariate bridge distribution was derived as the distribution of the random intercept that 'bridged' a marginal logistic regression and a conditional logistic regression. The conditional and marginal regression coefficients are a scalar multiple of each other. Such is not the case if the random intercept distribution was Gaussian.

Install

Health

CRAN checks
13OK
Slowest check: 58 s · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.33
100.0%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
50%
Return-value docs
100%
References docs
100%

Downloads

3.7K
CRAN downloads in the past year
Rank #11,942 · ~10/day · ~307/mo
Daily download trend is not available in this view yet.
26930 days
89390 days
3.7K1 year
Compare downloads with other packages →
Also on112 r2u25 autocran66 c2d4u

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
4Releases
39Commits
1Contributors
39 commits · Last activity 2024-10-19

Stars over time

2024-03-21 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/swihart/bridgedist on 2026-07-19.

Continuous integration (2)
GitHub ActionsTravis CI
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.0.0
Imports (1)
stats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Code Composition
R 273 (63%)Rd 96 (22%)Vignettes 63 (15%)
Code characteristics
Cyclomatic complexity
2.0 median / 3 max
Test cases
16 / 1.33 per code line

Test coverage

Line coverage

100%

Expression

100.0%

Tests / Examples

100.0% / 41% ex

Functions

5 4 exported

Complexity

2.2 avg / 3 max

Call network

5 nodes / 1 edges

Loading call graph…

Lowest coverage

5 functions
FunctionCycloCoverage
dbridge exp2100%
pbridge exp3100%
qbridge exp3100%
rbridge exp2100%
.onAttach1100%

People & History

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

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

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.3Latest
    2024-10-18 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.2
    2022-12-22 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.1
    2022-03-02 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 0.1.0
    2016-04-22
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-04-22
Total releases
4 / 10 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.0.0
Download size
69 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →