Learn R Programming

mateable 0.3.3

Updated package anchors in links & made other minor fixes.

mateable 0.3.2 is now available on CRAN.

We added new arguments to several functions to increase options for summarizing and visualizing mating scene data (see specific updates in 'News') and made updates for compatibility with R 4.2.2.

mateable 0.3.1 is now available on CRAN.

We added a vignette and many new features to this version.

mateable 0.3.0

With this release you can organize mating scene data (makeScene and simulateScene), visualize mating scenes (plotScene, plot3DScene, and plotPotential), do some basic analysis of mating scenes (synchrony, proximity, compatibility), and a few other useful tasks (matingSummary, overlap, etc.)!

mateable

This repo provides source code for an R package called mateable. This package provides tools to simulate, manage, visualize, and analyze spatially and temporally explicit datasets of mating potential. It implements methods to calculate synchrony, proximity, and compatibility.

To download the CRAN version of this package simple use the standard command to do so:

install.packages("mateable")

To get the current development version you can use the package devtools, and the following code to automatically install package mateable.

install.packages("devtools") # if you don't already have it
library(devtools)
install_github("stuartWagenius/mateable")
library(mateable)
?mateable

You should see a help page. Click the index link at the bottom of the page to see what functions are available. Copy and paste the example code to see what happens!

Let me know if you have any questions.

If you are interested in contributing to this package, fork the repo and modify/add functions as you see fit. After modifying the repo, create test code that shows that the modifications work in a variety of contexts. Also show that when the modifications show error messages, they aren't indecipherable. Submit a pull request with your test code and someone from the Echinacea Project will review the code and accept, deny, or suggest modifications to your changes.

For more advanced programmers, this packages uses Rcpp to take advantage of the speed benefits of C++. If you think that some part of this would be optimized through C++ programming, add your code to the src/ folder and make sure that the package builds.

Happy coding!

Copy Link

Version

Install

install.packages('mateable')

Monthly Downloads

177

Version

0.3.3

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Stuart Wagenius

Last Published

September 3rd, 2025

Functions in mateable (0.3.3)

ech2012

Information about mating scene at sites eelr and nwlf in 2012.
matingSummary

Summarize a Mating Scene
kNearNeighbors

Get k Nearest Neighbors
dailyOMP

Calculate daily outcrossed mating potential
makeScene

Create a matingScene object from a data frame
overlap

Pairwise Mating Timing Comparison
mateable-package

Tools to simulate, manage, visualize, and jointly analyze spatially and temporally explicit datasets of mating potential
pairDist

Distance Matrix for a mating scene
compatibility

Make potentials object--mating type compatibility
plot3DPotential

graphical visualization of multiple mating potential objects
plotPotential

graphical visualization of a mating potential object
synchrony

Make potentials object--mating synchrony
plotScene

graphical visualization of a mating scene object
receptivityByDay

Mating Receptivity by Day
proximity

Make potentials object--spatial proximity
simulateScene

Simulate a Mating Scene
plot3DScene

multi-dimensional visualization of mating scene object