summary.ssvs_mi | R Documentation |
Computes summary statistics (average, minimum, and maximum) for beta coefficients, MIP and average nonzero beta coefficients from an SSVS result object.
## S3 method for class 'ssvs_mi'
summary(object, ...)
object |
An ssvs_mi result object obtained from |
... |
Ignored |
A data frame with results
data(imputed_mtcars)
outcome <- 'qsec'
predictors <- c('cyl', 'disp', 'hp', 'drat', 'wt', 'vs', 'am', 'gear', 'carb','mpg')
imputation <- '.imp'
results <- ssvs_mi(data = imputed_mtcars, y = outcome, x = predictors, imp = imputation)
summary_MI<-summary(results)
print(summary_MI)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.