View source: R/mvregmed.edges.R
mvregmed.edges | R Documentation |
Using the names of the alpha, beta, and delta matrices in the fitted object, create directed edges
mvregmed.edges(fit, eps = 0.001)
fit |
The fit as an object of class mvregmed. This can be output from either mvregmed.fit or mvregmed.grid.bestfit. |
eps |
Threshold to determine whether any of alpha, beta, or delta parameters are close to zero to be rounded to zero. |
an object of class mvregmed.edges, which is a list with all.edge which is a data.frame with directed edges that are the names of x, mediator, y that are in the fitted model. Also returns data frames for alpha, beta, delta (each data frame containing vertex labels, row/col indices from which parameters were selected, and coefficient values), as well as names of x, mediator, and y.
Daniel Schaid and Jason Sinnwell
Schaid DS, Dikilitas O, Sinnwell JP, Kullo I (2022). Penalized mediation models for multivariate data. Genet Epidemiol 46:32-50.
mvregmed.fit
plot.mvregmed.edges
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.