plot.ReSurvFit: Plot for machine learning models

View source: R/plotReSurvFit.R

plot.ReSurvFitR Documentation

Plot for machine learning models

Description

This function plots the mean absolute SHAP values for the ReSurv fits of machine learning models.

Usage

## S3 method for class 'ReSurvFit'
plot(x, nsamples = NULL, ...)

Arguments

x

ReSurvFit x.

nsamples

integer, number of observations to sample for neural networks features importance plot.

...

Other arguments to be passed to plot.

Value

ggplot2 of the SHAP values for an "XGB" model or a "NN" model.


ReSurv documentation built on April 4, 2025, 1:39 a.m.