Shows the plot of confidence regions with MLEs indicated (red dots) or a plot of pairs of traits together. Note that for the latter plot, it converts the sampled points to an even grid with interpolation; it sets any points with likelihood worse than ten units to just ten units worse so that you can see the colors near the area of the optimum.
# S3 method for BMhybResult
plot(x, style = "univariate",
focal.color = "red", inregion.color = "black",
outregion.color = "gray", gradientworst.color = "black",
gradientbest.color = "white", contour.color = "red",
contour.threshold = 2, nrow = NULL, ...)
A BMhyb object (result of a BMhyb() call)
Either univariate or contour
Color for the point showing the maximum likelihood estimate
Color for univariate plot, points in the good region
Color for univariate plot, points in the bad region
Color for contour plot, color of the worst contour region
Color for contour plot, color of the best contour region
Color showing the contour line for the best threshold
What delta log likelihood to use for the best/worst threshold for the contour plot
The number of rows to plot in the grid for contour (will set it automatically if NULL)
Other arguments to pass to plot (for univariate only; the contour plot uses ggplot2)