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
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.6%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Multiple Survival Curves Crossing Test
Basic Info
- Host: GitHub
- Owner: HMinP
- License: gpl-3.0
- Language: R
- Default Branch: main
- Size: 136 KB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
- Releases: 1
Created about 1 year ago
· Last pushed 11 months ago
Metadata Files
Readme
Changelog
License
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# MSCCT
Multiple Survival Crossing Curves Tests
This package contains tests for comparison or two or more survival curves when the
proportional hazards hypothesis is not verified, in particular when the survival
curves cross each other.
## Installation
You can install the package MSCCT from CRAN with:
``` {r eval=FALSE}
install.packages("MSCCT")
```
## Example
```{r}
library(MSCCT)
```
This package contains:
- The weighted log-rank test
The log-rank test compares for each group and for each time of event the expected and the observed number
of events. The weighted log-rank adds weights to each time of event. Some (implemented)
exemples are the Flemming-Harrington test and the Gehan-Wilcoxon test. It is also possible to chose
the weights you want.
```{r}
multi_lr(data_under_PH)
```
```{r}
multi_lr(data_under_PH, test="fh", rho=1, gamma=0)
```
- The Restricted Mean Survival Test
The Restricted Mean Survival Time at time $\tau$ is the area under a survival curve
up to time $\tau$. The RMST test compares the areas under the survival curves and
tests the equality to zero of the difference of RMST.
```{r}
multi_rmst(data_under_PH, tau=12, nboot=100, method="bonferroni")
```
- The Two-stage test
The two-stage test is a combination of two tests. The first one is a classic log-rank test.
When the log-rank test is not significant, this means that the survival curves are
either different or they cross each other and the log-rank is not powerful enough.
In order to differentiate these cases, a second test is performed. This second test is
a weighted log-rank test with weights that allows to differentiate the two previous cases.
```{r}
multi_ts(data_under_PH, eps=0.1, nboot=100, method="BH")
```
Owner
- Name: hugo-mp
- Login: HMinP
- Kind: user
- Repositories: 1
- Profile: https://github.com/HMinP
GitHub Events
Total
- Release event: 1
- Push event: 15
- Create event: 2
Last Year
- Release event: 1
- Push event: 15
- Create event: 2
Packages
- Total packages: 1
-
Total downloads:
- cran 263 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
cran.r-project.org: MSCCT
Multiple Survival Crossing Curves Tests
- Homepage: https://github.com/HMinP/MSCCT
- Documentation: http://cran.r-project.org/web/packages/MSCCT/MSCCT.pdf
- License: GPL (≥ 3)
-
Latest release: 1.0.2
published 11 months ago
Rankings
Dependent packages count: 25.8%
Dependent repos count: 31.7%
Average: 47.7%
Downloads: 85.5%
Maintainers (1)
Last synced:
10 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.5 depends
- boot * imports
- stats * imports
- survival * imports
- testthat >= 3.0.0 suggests