multsurvtests
R package using RCPP for multivariate survival tests
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 1 DOI reference(s) in README -
✓Academic publication links
Links to: wiley.com -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.9%) to scientific vocabulary
Repository
R package using RCPP for multivariate survival tests
Basic Info
Statistics
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
MultSurvTests
This R package contains multivariate two-sample survival permutation tests, based on the logrank and Gehan statistics. The tests are described in Persson et al. (2019).
To install the development version from GitHub:
library(devtools)
install_github("lukketotte/MultSurvTests")
Example usage, comparing the bivariate survival times of the two treatment groups in the diabetes data (included in the package):
``` library(MultSurvTests)
Diabetes data:
?diabetes
Survival times for the two groups:
x <- as.matrix(subset(diabetes, LASER==1)[c(6,8)]) y <- as.matrix(subset(diabetes, LASER==2)[c(6,8)])
Censoring status for the two groups:
delta.x <- as.matrix(subset(diabetes, LASER==1)[c(7,9)]) delta.y <- as.matrix(subset(diabetes, LASER==2)[c(7,9)])
Create the input for the test:
z <- rbind(x, y) delta.z <- rbind(delta.x, delta.y)
Run the tests with 99 permutations:
permgehan(B = 99, z, delta.z, n1 = nrow(x)) permmvlogrank(B = 99, z, delta.z, n1 = nrow(x))
In most cases, it is preferable to use more than 99
permutations for computing p-values. choose_B() can
be used to determine how many permutations are needed.
```
Owner
- Name: Lukas Arnroth
- Login: lukketotte
- Kind: user
- Company: Uppsala university
- Website: https://lukketotte.github.io/
- Repositories: 4
- Profile: https://github.com/lukketotte
PhD candidate at the Department of Statistics, Uppsala University
GitHub Events
Total
Last Year
Committers
Last synced: over 3 years ago
All Time
- Total Commits: 25
- Total Committers: 2
- Avg Commits per committer: 12.5
- Development Distribution Score (DDS): 0.2
Top Committers
| Name | Commits | |
|---|---|---|
| Lukas Arnroth | l****h@g****m | 20 |
| Måns Thulin | 3****n@u****m | 5 |
Issues and Pull Requests
Last synced: over 2 years ago
All Time
- Total issues: 0
- Total pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: about 2 hours
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- mthulin (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 235 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
- Total maintainers: 1
cran.r-project.org: MultSurvTests
Permutation Tests for Multivariate Survival Analysis
- Homepage: https://github.com/lukketotte/MultSurvTests
- Documentation: http://cran.r-project.org/web/packages/MultSurvTests/MultSurvTests.pdf
- License: MIT + file LICENSE
-
Latest release: 0.2
published about 5 years ago
Rankings
Maintainers (1)
Dependencies
- R >= 2.10 depends
- Rcpp >= 0.12.9 imports
- Rdpack * imports