gravity.es | R Documentation |
Cohen's D effect size for gravity models
gravity.es(x, actual.n = FALSE, alpha = 0.95)
x |
gravity model object |
actual.n |
(FALSE/TRUE) Use actual N or degrees of freedom in calculating Confidence Interval |
alpha |
confidence interval |
Calculate Cohen's D statistic for each effect in a gravity model object
data.frame of parameter effect size
Jeffrey S. Evans <jeffrey_evans@tnc.org> and Melanie A. Murphy <melanie.murphy@uwyo.edu>
Murphy M.A., R. Dezzani, D.S. Pilliod & A.S. Storfer (2010) Landscape genetics of high mountain frog metapopulations. Molecular Ecology 19(17):3634-3649
Cohen, J. (1988) Statistical power for the behavioral sciences (2nd ed.). Hillsdale, NJ: Erlbaum
library(nlme)
data(ralu.model)
x = c("DEPTH_F", "HLI_F", "CTI_F", "cti", "ffp")
gm_h1 <- gravity(y = "DPS", x = x, d = "DISTANCE", group = "FROM_SITE",
data = ralu.model, ln = FALSE, method="ML")
gravity.es(gm_h1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.