mvregmed.grid.update {regmed}R Documentation

Helper function to update parameters in a grid search

Description

After a model is fit with a specific lambda, use the output of the fitted parameters as initial values for the next lambda value, thus using warm starts at each successive lambda value.

Usage

mvregmed.grid.update(fit.obj, inits)

Arguments

fit.obj

A fitted model of class mvregmed.

inits

Initial values from mvregmed.init that are subsequently updated with new values from fit.obj

Value

A list with the same components as output from mvregmed.init

Author(s)

Daniel Schaid and Jason Sinnwell

References

Schaid DS, Dikilitas O, Sinnwell JP, Kullo I (2022). Penalized mediation models for multivariate data. Genet Epidemiol 46:32-50.

See Also

mvregmed.init


[Package regmed version 2.1.0 Index]