Mosaic Plots . For extended mosaic plots, use mosaic(x, condvar=, data=) where x is a table or formula, condvar= is an optional conditioning variable, and data= specifies a data frame or a table. Include shade=TRUE to color the figure, and legend=TRUE to display a legend for the Pearson residuals. # Mosaic Plot Example library(vcd) A more conventional way to estimate the model performance is to display the residual against different measures. You can use the plot() function to show four graphs: - Residuals vs Fitted values - Normal Q-Q plot: Theoretical Quartile vs Standardized residuals - Scale-Location: Fitted values vs Square roots of the standardised residuals
Nov 26, 2018 · Bonus: Try plotting other random days, like a weekday vs a weekend and a day in June vs a day in October (Summer vs Winter) and see if you observe any differences. Time of Day The target variable (Power) is highly dependent on the time of day.