spatiotemporalcanids
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.8%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: tywerdel
- Language: R
- Default Branch: main
- Size: 144 MB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
Using a Bayesian two-species occupancy model and temporal overlap to evaluate how landscape characteristics influence spatial interactions
This is model code from:
Werdel et al. 2025: Influence of landscape composition on spatiotemporal interactions between sympatric canids. Ecological Applications.
It can be used to estimate the influence of landscape characteristics on spatial interactions between species. Additional temporal overlap code can be used to determine if species activity overlapped significantly more or less than expected.
Two-Species Occupancy Model
Scripts:
There are 4 scripts needed to run this analysis
2019-01-15galloetalJAEutilityscript.R - script that loads utility functions. From: Gallo, T., M. Fidino, E.W. Lehrer, and S. Magle. 2019. Urbanization alters predator avoidance behaviors. Journal of Animal Ecology.
WerdelJAGSModel_EcoApps.R - script that loads data sets and formats data to be fit in JAGS model. This script also calls the JAGS model and summarizes the output.
Werdel3spInteractions.R - JAGS model used to estimate the co-occurrence in coyotes and swift fox.
WerdelJAGSSummary.R the only file that you need to open. Use "mrf <- readRDS("modelresultsFullSGP.RDS")" to input the associated model results of different estimated covariates "modelresultsFullCOVARIATEEcoApps.RDS". Pre-run summaries can also be found in the repository under "parametersummaryCOVARIATE_EcoApps.csv".
Data Files:
There are 8 data files needed to run this analysis (All within the "Data" folder)
WerdelYMatrix.txt - The number of days each species was detected and is supplied as data to the JAGS model so that each species detection probability can be calculated. This array is ordered by species by site by season. Species are in the same order as WerdelSpeciesUsed.txt and sites are in the same order as WerdelSitesUsed.txt.
WerdelZMatrix.txt - Data on whether or not each species were observed at the camera trapping sites each season. If they were detected the cell takes a value of 1, if they were not detected it takes a 0, and if the site was not sampled it takes an NA. This is a species by site by season array in the same orders as WerdelYMatrix.txt.
WerdelJMatrix.txt - Data on the number of days a camera trap was active at each site and season. Used with the detection data to calculate detection probabilities, and is a site by season matrix. If a site was not sampled a zero is reported.
WerdelSitesUsed.txt - A vector of the site names used in our analysis.
WerdelSpeciesUsed.txt - A vector of the observed species whose data are contained in WerdelYMatrix.txt and WerdelZMatrix.txt. Note:Badgers were not used in our results
Werdel4Covs.csv - Covariates used within our analysis: Proportion of CRP, Shortgrass Prairie, and Rowcrop Agriculture. We had an additional covariate of Total Edge between landcover types.
WerdelDummyDeerVigilance.csv - Dummy data to indicate vigilance. Not used with our results.
WerdelDummyRabbitVigilance.csv - Dummy data to indicate vigilance. Not used with our results.
Note: All of these files must be within your working directory for the analysis to work. Our analysis was done in parallel and used 12 cores. Therefore, you will need to adjust the settings annotated within WerdelJAGSModel_EcoApps.R accordingly.
Temporal Overlap
Scripts:
There is 1 script needed to run this analysis
Overlap.R - script that runs entire temporal overlap analysis and produces plots
Data Files:
There are 3 data files needed to run this analysis
CoyFoxActivity.csv - All coyote and swift fox temporal activity and site covariates
CoyoteActivity.csv - All coyote temporal activity
SFActivity.csv - All swift fox temporal activity
Owner
- Name: Ty Werdel
- Login: tywerdel
- Kind: user
- Location: College Station, Texas
- Company: Texas A&M University
- Website: werdelwildlife.com
- Twitter: tywerdel
- Repositories: 2
- Profile: https://github.com/tywerdel
Wildlife Ecologist, Ph.D. | Vice Chancellor's Postdoctoral Fellow
GitHub Events
Total
- Release event: 1
- Watch event: 2
- Push event: 2
- Create event: 1
Last Year
- Release event: 1
- Watch event: 2
- Push event: 2
- Create event: 1