View source: R/summary.LinCDE.R
| summary.LinCDE | R Documentation |
This function provides relative covariate influences/importances of a LinCDE model.
## S3 method for class 'LinCDE' summary( object, ..., cBars = length(object$importanceScore), plotit = TRUE, order = TRUE, normalize = TRUE, main = NULL )
object |
a LinCDE model. |
... |
other parameters. |
cBars |
the number of bars to plot. If |
plotit |
an indicator as to whether the plot is generated. |
order |
an indicator as to whether the plotted and/or returned relative influences are sorted. |
normalize |
if |
main |
a main title for the plot. |
If the object$centering is FALSE, this function returns a data frame where the first component is the variable name and the second is the computed relative influence/importance. If the object$centering is TRUE, this function returns two data frames location and beyondLocation. In each data frame, the first component is the variable name and the second is the computed relative influence/importance. The location data frame records the relative influence/importance from object$centeringModel, and the beyondLocation data frame records the relative influence/importance from the LinCDE model fitted to the residuals of object$centeringModel.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.