Regression - Diagnostic - StandardRPlot - Residuals vs Leverage
Jump to navigation
Jump to search
Create a plot of residuals versus leverage values<
Code
var heading_text = "Residuals vs Leverage";
if (!!form.setObjectInspectorTitle)
form.setObjectInspectorTitle(heading_text);
else
form.setHeading(heading_text);
form.dropBox({name: "formInput", label: "Regression:", types: ["RItem:Regression"],
prompt: "Select a Regression output to show diagnostics for" });
residuals.vs.leverage <- plot(formInput, which = 5)
ret <- ""
class(ret) <- "visualization-selector"
ret