Regression - Diagnostic - StandardRPlot - Residuals vs Fitted
Jump to navigation
Jump to search
Create a plot of residuals versus fitted values
Code
var heading_text = "Residuals vs Fitted";
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.fitted <- plot(formInput, which = 1)
ret <- ""
class(ret) <- "visualization-selector"
ret