Regression - Diagnostic - StandardRPlot - Scale-Location
Jump to navigation
Jump to search
Create a plot of the square root of the absolute standardized residuals by fitted values
Code
var heading_text = "Scale-Location"
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" });
scale.location <- plot(formInput, which = 3)
ret <- ""
class(ret) <- "visualization-selector"
ret