Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.2%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: benjaminrich
- Language: HTML
- Default Branch: master
- Size: 1.97 MB
Statistics
- Stars: 82
- Watchers: 5
- Forks: 27
- Open Issues: 33
- Releases: 10
Metadata Files
README.md
table1
An R package for generating tables of descriptive statistics in HTML.
Installation
To install from CRAN:
r
install.packages("table1")
To install the latest development version directly from GitHub:
r
require(devtools)
devtools::install_github("benjaminrich/table1")
Getting Started
An introduction to the package with examples is provided in the vignette.
Example
For this example, we will use data from the Mayo Clinic trial in primary biliary cirrhosis (PBC) of the liver found in the survival package.
``` r require(table1) require(survival)
dat <- subset(survival::pbc, !is.na(trt)) # Exclude subjects not randomized
dat$trt <- factor(dat$trt, levels=1:2, labels=c("D-penicillamine", "Placebo")) dat$sex <- factor(dat$sex, levels=c("m", "f"), labels=c("Male", "Female")) dat$stage <- factor(dat$stage, levels=1:4, labels=paste("Stage", 1:4)) dat$edema <- factor(dat$edema, levels=c(0, 0.5, 1), labels=c("No edema", "Untreated or successfully treated", "Edema despite diuretic therapy")) dat$spiders <- as.logical(dat$spiders) dat$hepato <- as.logical(dat$hepato) dat$ascites <- as.logical(dat$ascites)
label(dat$age) <- "Age (y)" label(dat$sex) <- "Sex" label(dat$stage) <- "Histologic stage of disease" label(dat$edema) <- "Edema status" label(dat$spiders) <- "Blood vessel malformations in the skin" label(dat$hepato) <- "Presence of hepatomegaly or enlarged liver" label(dat$ascites) <- "Presence of ascites" label(dat$platelet) <- "Platelet count (× 109 per liter)" label(dat$protime) <- "Standardised blood clotting time" label(dat$albumin) <- "Serum albumin (g/dL)" label(dat$alk.phos) <- "Alkaline phosphotase (U/L)" label(dat$ast) <- "Aspartate aminotransferase (U/mL)" label(dat$bili) <- "Serum bilirubin (mg/dL)" label(dat$chol) <- "Serum cholesterol (mg/dL)" label(dat$copper) <- "Urine copper (μg/day)" label(dat$trig) <- "Triglycerides (mg/dL)"
table1(~ age + sex + stage + edema + spiders + hepato + ascites + platelet + protime + albumin + alk.phos + ast + bili + chol + copper + trig | trt, data=dat) ```

Owner
- Name: Benjamin Rich
- Login: benjaminrich
- Kind: user
- Repositories: 5
- Profile: https://github.com/benjaminrich
GitHub Events
Total
- Issues event: 8
- Watch event: 4
- Issue comment event: 24
- Push event: 3
- Pull request event: 2
- Fork event: 1
Last Year
- Issues event: 8
- Watch event: 4
- Issue comment event: 24
- Push event: 3
- Pull request event: 2
- Fork event: 1
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Benjamin Rich | m****l@b****t | 158 |
| Benjamin Rich | B****h@c****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 117
- Total pull requests: 11
- Average time to close issues: 3 months
- Average time to close pull requests: 11 days
- Total issue authors: 95
- Total pull request authors: 8
- Average comments per issue: 3.12
- Average comments per pull request: 0.45
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 6
- Pull requests: 1
- Average time to close issues: 11 days
- Average time to close pull requests: N/A
- Issue authors: 5
- Pull request authors: 1
- Average comments per issue: 0.67
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- Beduiz (5)
- billdenney (4)
- samuelsaari (3)
- hdeng88 (2)
- benjaminrich (2)
- Dekermanjian (2)
- Vonyx1000 (2)
- Alex45645 (2)
- guilhermeparreira (2)
- smouksassi (2)
- willy-89 (2)
- tianfeiwei (2)
- PierreH94 (2)
- nawar82 (1)
- nsk64 (1)
Pull Request Authors
- benjaminrich (3)
- billdenney (2)
- nolankm (2)
- AlexanderLauf (1)
- louis-del (1)
- randyn (1)
- olivierbarriere (1)
- d-morrison (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- cran 7,107 last-month
- Total docker downloads: 21,750
-
Total dependent packages: 12
(may contain duplicates) -
Total dependent repositories: 21
(may contain duplicates) - Total versions: 15
- Total maintainers: 1
cran.r-project.org: table1
Tables of Descriptive Statistics in HTML
- Homepage: https://github.com/benjaminrich/table1
- Documentation: http://cran.r-project.org/web/packages/table1/table1.pdf
- License: GPL-3
-
Latest release: 1.4.3
published over 3 years ago
Rankings
Maintainers (1)
conda-forge.org: r-table1
- Homepage: https://github.com/benjaminrich/table1
- License: GPL-3.0-only
-
Latest release: 1.4.2
published about 5 years ago
Rankings
Dependencies
- R >= 3.5.0 depends
- Formula * imports
- htmltools * imports
- knitr * imports
- stats * imports
- yaml * imports
- MatchIt * suggests
- boot * suggests
- flextable * suggests
- kableExtra * suggests
- printr * suggests
- rmarkdown * suggests
- actions/checkout v2 composite
- r-lib/actions/check-r-package v1 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
- r-lib/actions/setup-r-dependencies v1 composite