View source: R/mrPlotInteractions.R
mrPlot_interactions | R Documentation |
Plots global interactions as well as individual response interaction importance.
mrPlot_interactions(interactions, X, Y, top_ranking = 3, top_response = 10)
interactions |
A |
X |
A |
Y |
A |
top_ranking |
A |
top_response |
A |
1st plot: Barplots showing the mean and cumulative importance of each of the top pairs of interactions in the model. 2nd plot: Barplot of the responses with the strongest interactions 3rd plot: Barplots of the strongest interactions for each of the top response variables. interactions <-mrInteractions(yhats, X, Y) #this is computationally intensive so multicores are needed. If stopped prematurely - have to reload things mrPlot_interactions(Interact, X,Y, top_ranking = 3, top_response=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.