print.margins.orf | R Documentation |
print of estimated marginal effects of the Ordered Forest of class margins.orf
## S3 method for class 'margins.orf' print(x, ...)
x |
estimated Ordered Forest Marginal Effect object of type |
... |
further arguments (currently ignored) |
print.margins.orf
provides a first glimpse of the Ordered Forest
marginal effects, printed directly to the R
console. The printed information
contains the results for the marginal effects for each covariate and each outcome class.
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) # print marginal effects print(orf_margins)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.