Learn R Programming

rmlnomogram (version 0.1.2)

nomogram_shaps: Nomogram SHAP values using categorical predictors and binary outcome

Description

An example of a data frame for feature_exp argument in create_nomogram function, must only include feature explainability value per sample (i.e., SHAP value), where one column is available for each feature.

Usage

nomogram_shaps

Arguments

Format

A data frame with 16 rows and 4 columns:

cyl.6

A predictor with SHAP values.

cyl.8

A predictor with SHAP values.

qsec.1

A predictor with SHAP values.

vs.1

A predictor with SHAP values.