View source: R/extract_sort_results.R
ssmc_summary | R Documentation |
site.analysis
or best.locale
functionsA function to extract the summary data from site.analysis
or best.locale
functions
ssmc_summary(ssmc_results, ...)
ssmc_results |
Output object from |
... |
Optional to select which column to sort by when summarizing the results data frame. The default is to sort by |
This function returns a data frame of the summarized results from either the site.analysis
or best.locale
sorted by the specified column.
Bill Peterman <Peterman.73@osu.edu>
# Assess potential new locations best_results <- best.locale(sites = site.dat[,1:3], potential.sites = potential.dat, pop.abun = site.dat[,4:5], met.size = site.dat[,6:7], prop.philo = 0.95, sd.philo = 0.05, min.max_philo=c(min=0, max=1), # prop.survive=0.2, ## Not needed b/c met.size is specified # sd.survive = 0.075, ## Not needed b/c met.size is specified min.max_survive = c(min=0, max=1), dispersal = 25, sd.dispersal = 10, min.max_dispersal = c(min=10, max=Inf), iterations = 10, seed = 123) ## Default best_locales <- ssmc_summary(best_results) ## Sort by the adjusted rank best_locales <- ssmc_summary(best_results, 'rank_adj')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.