Skip to content

R package for spatial graph-theoretic gravity modelling

License

Notifications You must be signed in to change notification settings

amandamancini/GeNetIt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeNetIt (CRAN 0.1-2, development 0.1-3)

CRAN status CRAN RStudio mirror downloads

GeNetIt R package for spatial graph-theoretic gravity modelling with implementation of spatial graph-theoretic genetic gravity models. The model framework is applicable for other types of spatial flow questions. Includes functions for constructing spatial graphs, sampling and summarizing associated raster variables and building unconstrained and singly constrained gravity models.

Available functions in GeNetIt 0.1-3 are:

	area.graph.statistics - Depreciated, please use graph.statistics with buffer argument

	build.node.data - Build node data 
	
	compare.models - Compare competing hypothesis (models)
	
	dmatrix.df - Distance matrix to data.frame
	
	dps - dps genetic distance matrix for Columbia spotted frog (Rana luteiventris)
	
	flow - Convert distance matrix to flow (1-d)
	 
	graph.statistics - Raster statistics for edges (lines)

	gravity.es - Effect size for a gravity model
	
	gravity - Gravity model
	
	knn.graph - Saturated or K Nearest Neighbor Graph
	
	node.statistics - Raster statistics for nodes (points)
	
	plot.gravity - Generic plot function for a gravity model object
	
	predict.gravity - Predict gravity model
	
	print.gravity - Print gravity model
	
	ralu.model - Columbia spotted frog (Rana luteiventris) data for specifying gravity model.   
				Note, the data.frame is already log transformed.
	
	ralu.site - Subset of site-level spatial point data for Columbia spotted frog (Rana luteiventris)
	
	rasters - Subset of raster data for Columbia spotted frog (Rana luteiventris)
	
	summary.gravity - generic summary function for gravity model objects

Bugs: Users are encouraged to report bugs here. Go to issues in the menu above, and press new issue to start a new bug report, documentation correction or feature request. You can direct questions to [email protected].

To install GeNetIt in R use install.packages() to download curent stable release from CRAN

or, for the development version, run the following (requires the remotes package): remotes::install_github("jeffreyevans/GeNetIt")

About

R package for spatial graph-theoretic gravity modelling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%