SS_optim | R Documentation |
Optimize all surfaces contained in a directory using a genetic algorithm executed with the ga
function in the Genetic Algorithms package GA
SS_optim(CS.inputs,
gdist.inputs,
jl.inputs,
GA.inputs,
dist_mod,
null_mod,
diagnostic_plots = TRUE)
CS.inputs |
Object created from running |
gdist.inputs |
Object created from running |
jl.inputs |
Object created from running |
GA.inputs |
Object created from running |
dist_mod |
Logical, if TRUE, a Distance model will be calculated and added to the output table (default = TRUE) |
null_mod |
Logical, if TRUE, an intercept-only model will be calculated and added to the output table (default = TRUE) |
diagnostic_plots |
Plotting and saving of diagnostic plots (Default = TRUE) |
This function optimizes resistance surfaces in isolation. Following optimization of all surfaces, several summary objects are created.
Diagnostic plots of model fit are output to the "Results/Plots" directory that is automatically generated within the folder containing the optimized ASCII files.
A .csv file with the Maximum Likelihood Population Effects mixed effects model coefficient estimates (MLPE_coeff_Table.csv)
Three summary .csv files are generated: CategoricalResults.csv, ContinuousResults.csv, & All_Results_AICc.csv. These tables contain AICc values and optimization summaries for each surface.
All results tables are also summarized in a named list ($ContinuousResults, $CategoricalResults, $AICc, $MLPE, $MLPE.list, $cd, $k)
The lmer
model objects stored $MLPE.list are fit using Restricted Maximum Likelihood
$cd is a list of the optimized cost pairwise distance matrices and $k is a table of the surface names and number of parameters used to calculate AICc. These two objects can be passed to Resist.boot
to conduct a bootstrap analysis.
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.