summary.margins.orf | R Documentation |
summary of estimated marginal effects of the Ordered Forest of class margins.orf
## S3 method for class 'margins.orf' summary(object, latex = FALSE, ...)
object |
estimated Ordered Forest Marginal Effect object of type |
latex |
logical, if TRUE latex coded summary will be generated (default is FALSE) |
... |
further arguments (currently ignored) |
summary.margins.orf
provides estimation results of the Ordered Forest
marginal effects. The summary contains the results for the marginal effects
for each covariate and each outcome class, optionally with inference as well.
Furthermore, summary output as a LaTeX table is supported in order to directly
extract the results for the documentation.
Gabriel Okasa
## Ordered Forest require(orf) # load example data data(odata) # specify response and covariates Y <- as.numeric(odata[, 1]) X <- as.matrix(odata[, -1]) # estimate Ordered Forest orf_fit <- orf(X, Y) # estimate marginal effects of the orf orf_margins <- margins(orf_fit) # summary of marginal effects summary(orf_margins) # summary of marginal effects coded in LaTeX summary(orf_margins, latex = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.