Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sybilepi

Lifecycle: experimental R-CMD-check

The goal of sybilepi is to provide an interface to the Sybil-Epi lung cancer risk prediction model for the R language.

Installation

You can install the development version of sybilepi from GitHub with:

# install.packages("pak")
pak::pak("mattwarkentin/sybilepi")

Usage

Load the sybilepi package, construct a data frame with the necessary columns, and pass the data to predict_SybilEpi(...).

library(sybilepi)

df <- data.frame(
  age = 66.08055556,
  bmi = 29.64582054,
  copd = 0,
  education = 6,
  ethnicity = "White",
  family_history = 0,
  personal_history = 1,
  smoking_duration = 43,
  smoking_intensity = 20,
  smoking_quit = 0,
  smoking_status = 0,
  risk_sybil_6_year = 0.034103291
)

predict_SybilEpi(df)
#> [1] 0.03773142

Code of Conduct

Please note that the sybilepi project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

About

R interface to the Sybil-Epi lung cancer risk prediction model (https://doi.org/10.1016/j.chest.2026.02.022)

Resources

Code of conduct

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages