coef.svem_model {SVEMnet}R Documentation

Plot Coefficient Nonzero Percentages from a SVEMnet Model

Description

This function calculates the percentage of bootstrap iterations in which each coefficient is nonzero.

Usage

## S3 method for class 'svem_model'
coef(object, ...)

Arguments

object

An object of class svem_model returned by the SVEMnet function.

...

other arguments to pass.

Value

Invisibly returns a data frame containing the percentage of bootstraps where each coefficient is nonzero.

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.3.0 Index]