survsakk

The survSAKK package creates publication ready KM summary figures with base R.

https://github.com/sakk-statistics/survsakk

Science Score: 13.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
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.9%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

The survSAKK package creates publication ready KM summary figures with base R.

Basic Info
Statistics
  • Stars: 1
  • Watchers: 0
  • Forks: 1
  • Open Issues: 1
  • Releases: 9
Created over 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  eval = FALSE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# survSAKK 

## Overview

The `survSAKK` R package provides the `surv.plot()` function, facilitating Kaplan-Meier survival analysis. Designed with user-friendliness and efficiency in mind. Offering a robust tool for analysing survival data. It utilises the functionalites of `survival::survfit()`.

## Installation

Install the current version of `survSAKK` with:

```{r installation}
# install.packages("devtools")
devtools::install_github("SAKK-Statistics/survSAKK",
                         build_vignettes = TRUE,
                         force = TRUE)
```

## Usage


```{r, eval=TRUE, warning=FALSE,fig.height = 6, fig.width = 7}
# Load required library
library(survSAKK)
library(survival)

# Fit survival object 
fit <- survfit(Surv(lung$time/365.25*12, status) ~ sex, data = lung)

# Generate surival plot
surv.plot(fit = fit, 
          time.unit = "month",
          legend.name =  c("Male", "Female"))
```


## Getting help

### Documentation

```{r echo=TRUE, eval=FALSE}
# R Documentation
## survSAKK: Create publication ready Kaplan-Meier plot
help("survSAKK-package")

## Publication Ready Kaplan-Meier Plot
help("surv.plot")
```

### Vignette

Webpage of the vignette: [survSAKK](https://sakk-statistics.github.io/survSAKK/articles/surv.plot.html)

```{r echo=TRUE, eval=FALSE}
# Vignette
vignette("surv.plot", package = "survSAKK")
```

[![pages-build-deployment](https://github.com/SAKK-Statistics/survSAKK/actions/workflows/pages/pages-build-deployment/badge.svg?branch=main)](https://github.com/SAKK-Statistics/survSAKK/actions/workflows/pages/pages-build-deployment)[![codecov](https://codecov.io/gh/SAKK-Statistics/survSAKK/branch/main/graph/badge.svg?token=7Q8ASW3OVM)](https://app.codecov.io/gh/SAKK-Statistics/survSAKK)[![CRAN status](https://www.r-pkg.org/badges/version/survSAKK)](https://CRAN.R-project.org/package=survSAKK)
 

Owner

  • Name: SAKK Statistics
  • Login: SAKK-Statistics
  • Kind: organization

GitHub Events

Total
  • Create event: 4
  • Release event: 1
  • Issues event: 4
  • Delete event: 3
  • Member event: 2
  • Issue comment event: 7
  • Push event: 7
  • Pull request event: 9
Last Year
  • Create event: 4
  • Release event: 1
  • Issues event: 4
  • Delete event: 3
  • Member event: 2
  • Issue comment event: 7
  • Push event: 7
  • Pull request event: 9

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 2
  • Total pull requests: 4
  • Average time to close issues: 4 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.75
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 4
  • Average time to close issues: 4 months
  • Average time to close pull requests: about 1 month
  • Issue authors: 2
  • Pull request authors: 2
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.75
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • stefaniehayoz (3)
  • vsomas (1)
  • KatrinGyselSAKK (1)
Pull Request Authors
  • KatrinGyselSAKK (5)
  • SAKK-vsomas (5)
  • stefaniehayoz (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 415 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: survSAKK

Create Publication Ready Kaplan-Meier Plots

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 415 Last month
Rankings
Dependent packages count: 28.2%
Dependent repos count: 34.8%
Average: 49.9%
Downloads: 86.7%
Maintainers (1)
Last synced: 10 months ago

Dependencies

DESCRIPTION cran
  • grDevices * imports
  • graphics * imports
  • survival * imports
  • knitr * suggests
  • rmarkdown * suggests
  • testthat >= 3.0.0 suggests