Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

R package to calculate cardiovascular risk scores

NotificationsYou must be signed in to change notification settings

vcastro/CVrisk

Repository files navigation

R build statusCodecov test coverageCRAN statusCRAN downloadsR-CMD-check

About the package

CVrisk is a package to calculate various cardiovascular disease risk scores.

Currently available risk scores

  • Framingham 2008 10-year ASCVD risk (model with lipid labs)
  • Framingham 2008 10-year ASCVD risk (model with BMI)
  • ACC/AHA 2013 10-year ASCVD risk
  • MESA 2015 10-year ASCVD risk (traditional risk factors)
  • MESA 2015 10-year ASCVD risk (using coronary artery calcium)

Coming soon

  • Reynolds 2007 10-year ASCVD risk in women
  • Framingham 2009 30-year ASCVD risk

Installation

# Install from CRANinstall.packages("CVrisk")# Install the development version from GitHub:# install.packages("devtools")devtools::install_github("vcastro/CVrisk")

Usage

Calculate a single score:

library(CVrisk)ascvd_10y_accaha(race="aa",gender="male",age=55,totchol=213,hdl=50,sbp=140,bp_med=FALSE,smoker=0,diabetes=0)

Calculate multiple scores for a dataframe and append scores to thedataframe:

compute_CVrisk(sample_data,age="age",race="race",gender="gender",bmi="BMI",sbp="sbp",hdl="hdl",totchol="totchol",bp_med="bp_med",smoker="smoker",diabetes="diabetes",lipid_med="lipid_med",fh_heartattack="fh_heartattack",cac="cac")

About

R package to calculate cardiovascular risk scores

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp