GeNetIt (version 0.1-6)

gravity.es: Effect Size

Description

Cohen's D effect size for gravity models

Usage

gravity.es(x, actual.n = FALSE, alpha = 0.95)

Value

data.frame of parameter effect size

Arguments

x

gravity model object

actual.n

(FALSE/TRUE) Use actual N or degrees of freedom in calculating Confidence Interval

alpha

confidence interval

Author

Jeffrey S. Evans <jeffrey_evans@tnc.org> and Melanie A. Murphy <melanie.murphy@uwyo.edu>

Details

Calculate Cohen's D statistic for each effect in a gravity model object

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

Run this code
 
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)

Run the code above in your browser using DataLab