plot.svem_model {SVEMnet}R Documentation

Plot Method for SVEM Models

Description

Plots actual versus predicted values for an svem_model using ggplot2.

Usage

## S3 method for class 'svem_model'
plot(x, plot_debiased = FALSE, ...)

Arguments

x

An object of class svem_model.

plot_debiased

Logical; if TRUE, includes debiased predictions if available (default is FALSE).

...

Additional arguments passed to ggplot2 functions.

Details

This function creates an actual vs. predicted plot for the SVEM model. If plot_debiased is TRUE and debiased predictions are available, it includes them in the plot.

**Plot Features:**

Value

A ggplot object showing actual versus predicted values.

Acknowledgments

Development of this package was assisted by GPT o1-preview, which helped in constructing the structure of some of the code and the roxygen documentation. The code for the significance test is taken from the supplementary material of Karl (2024) (it was handwritten by that author).


[Package SVEMnet version 1.2.1 Index]