View source: R/Diagnostic_Plots.R
Diagnostic.Plots | R Documentation |
This function will generate mixed effect model diagnostic plots following optimization
Diagnostic.Plots(resistance.mat, genetic.dist, XLAB,YLAB, plot.dir, type, name, ID, ZZ)
resistance.mat |
Path to CIRCUITSCAPE "_resistances.out" file, or costDistance object created from running gdistance |
genetic.dist |
Vector of pairwise genetic distances (lower half of pairwise matrix). Can be input as CS.inputs$response |
XLAB |
Label for x-axis (Defaults to "Estimated resistance") |
YLAB |
Label for y-axis (Defaults to "Genetic distance") |
plot.dir |
Directory to output TIFF of diagnostic plots |
type |
Specify whether the optimized surface is "continuous" or "categorical" |
name |
The name to be attached to the output file. Must be specified when getting diagnostic plots for gdistance models |
ID |
The to_from ID list for the MLPE model. The function will automatically create this object, but it can be specified directly from the output of CS.prep or gdist.prep (Default = NULL) |
ZZ |
The sparse matrix object for the MLPE model. The function will automatically create this object, but it can be specified directly from the output of CS.prep or gdist.prep (Default = NULL) |
A multipanel panel .tif including histogram of residuals and qqplot of fitted mixed effects model
Bill Peterman <Peterman.73@osu.edu>
## Not run:
## *** TO BE COMPLETED *** ##
## End (Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.