gravity.es {GeNetIt} | R Documentation |
Effect Size
Description
Cohen's D effect size for gravity models
Usage
gravity.es(x, actual.n = FALSE, alpha = 0.95)
Arguments
x |
gravity model object |
actual.n |
(FALSE/TRUE) Use actual N or degrees of freedom in calculating Confidence Interval |
alpha |
confidence interval |
Details
Calculate Cohen's D statistic for each effect in a gravity model object
Value
data.frame of parameter effect size
Author(s)
Jeffrey S. Evans <jeffrey_evans@tnc.org> and Melanie A. Murphy <melanie.murphy@uwyo.edu>
References
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
Examples
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)
[Package GeNetIt version 0.1-6 Index]