as.madness {madness} | R Documentation |
Coerce to a madness object.
Description
Convert model to a madness object.
Usage
as.madness(x, vtag=NULL, xtag=NULL)
## Default S3 method:
as.madness(x, vtag = NULL, xtag = NULL)
Arguments
x |
an object which can be fed to |
vtag |
an optional name for the |
xtag |
an optional name for the |
Details
Attempts to stuff the coefficients and variance-covariance matrix of a model into a madness object.
Value
A madness object.
Author(s)
Steven E. Pav shabbychef@gmail.com
Examples
xy <- data.frame(x=rnorm(100),y=runif(100),z=runif(100))
amod <- lm(z ~ x + y,xy)
amad <- as.madness(amod)
[Package madness version 0.2.8 Index]