Learn R Programming

StratSel (version 1.4)

getSummary: getSummary Method for extending mtable()

Description

This function extends the mtable() to report strategic selection models (StratSel). Together with setStratSelDefault and the mtable command from the memisc package users can create multi-model tables and export them to LaTeX.

Usage

# S3 method for StratSel
getSummary(obj, alpha = 0.05, ...)

Value

Returns a list of objects to be fed to mtable. Do not use this command directly. The command mtable will automatically call this function for an object of the StratSel class.

Arguments

obj

An object of class StratSel.

alpha

Significance level.

...

additional arguments

Author

Lucas Leemann lleemann@gmail.com

References

Elff, Martin. (2013). memisc: Tools for Management of Survey Data, Graphics, Programming, Statistics, and Simulation R package version 0.96-7.

See Also

toLatex, mtable

Examples

Run this code
data(data.fake)
out1 <- StratSel(Y ~ var.A | var.D | var.E , data=data.fake, corr=FALSE)
out2 <- StratSel(Y ~ var.A | var.C | var.E, data=data.fake, corr=FALSE)
mtable(out1,out2)

Run the code above in your browser using DataLab