View source: R/plot_diagnostics.r
plot_diagnostics | R Documentation |
This function plots the distribution of the phylogenetically-normalized residuals to check if it meets the assumption of normality. Another panel in the plot is the residuals vs. fitted values. It is typically helpful for diagnosing model adequacy and the equal variance assumption. There should be little to no trend and no "funneling" pattern in the residuals vs. fitted plot.
plot_diagnostics(output_reg)
output_reg |
A list outputted from the |
This function returns an object of the ggplot
class.
Kevin Surya
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.