Therosario package provides tools to quantify andvisualize temporal niche overlap using Pianka and Czekanowski indices,and to simulate null models with the ROSARIO algorithm (Castro-Arellanoet al. 2010).
You can install the development version of rosario fromGitHub with:
# Install devtools if you don't have itinstall.packages("devtools")# Install commecometrics from GitHubdevtools::install_github("mariahm1995/rosario")You can also get the official release version from CRAN
install.packages("rosario")This is a basic example which shows you how to solve a commonproblem:
library(rosario)# Example dataex1# Assemblage-wide overlaptemp_overlap(ex1,method ="pianka")# Null model testnm<-get_null_model(ex1,method ="pianka",nsim =200,parallel =FALSE)nm$p_value# Visualize ROSARIO patternsplot_rosario(ex1[1, ],cols =5)