Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
krzyzinskim committed Aug 30, 2023
1 parent f43480c commit 5e0739f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/global-survshap.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ We use the explainer and the `model_survshap()` function to calculate SurvSHAP(t
shap <- model_survshap(exp, veteran[c(1:4, 17:20, 110:113, 126:129), -c(3,4)])
```

We plot these explanations using the `plot.aggregated_surv_shap()` function. By default the plot features 2 panels, the one on the left depicts overall importance of variables. The panel on the right demonstates the time-dependent importance of each variable calculated as the mean absolute SHAP value at each time point across all observations.
We plot these explanations using the `plot.aggregated_surv_shap()` function. By default the plot features 2 panels, the one on the left depicts overall importance of variables. The panel on the right demonstrates the time-dependent importance of each variable calculated as the mean absolute SHAP value at each time point across all observations.

```{r}
plot(shap)
Expand Down

0 comments on commit 5e0739f

Please sign in to comment.