<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>R package for ecological time series &#8211; Science</title>
	<atom:link href="https://scienmag.com/tag/r-package-for-ecological-time-series/feed/" rel="self" type="application/rss+xml" />
	<link>https://scienmag.com</link>
	<description></description>
	<lastBuildDate>Tue, 20 Oct 2026 11:15:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>

<image>
	<url>https://scienmag.com/wp-content/uploads/2024/07/cropped-scienmag_ico-32x32.jpg</url>
	<title>R package for ecological time series &#8211; Science</title>
	<link>https://scienmag.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">73899611</site>	<item>
		<title>Rosario R package tests temporal overlap in British Columbia cervids</title>
		<link>https://scienmag.com/rosario-r-package-tests-temporal-overlap-in-british-columbia-cervids/</link>
		
		<dc:creator><![CDATA[Drew Townsend]]></dc:creator>
		<pubDate>Tue, 20 Oct 2026 11:15:12 +0000</pubDate>
				<category><![CDATA[Biology]]></category>
		<category><![CDATA[Science News]]></category>
		<category><![CDATA[Technology and Engineering]]></category>
		<category><![CDATA[algorithm]]></category>
		<category><![CDATA[British Columbia cervid behavior]]></category>
		<category><![CDATA[camera trap data analysis]]></category>
		<category><![CDATA[camera traps]]></category>
		<category><![CDATA[cervid activity]]></category>
		<category><![CDATA[cyclic activity pattern assessment]]></category>
		<category><![CDATA[cyclic randomisation]]></category>
		<category><![CDATA[Czekanowski overlap]]></category>
		<category><![CDATA[diel activity patterns]]></category>
		<category><![CDATA[ecological community temporal dynamics]]></category>
		<category><![CDATA[ecological null-model testing]]></category>
		<category><![CDATA[ecological time series]]></category>
		<category><![CDATA[null models]]></category>
		<category><![CDATA[Pianka overlap]]></category>
		<category><![CDATA[R package]]></category>
		<category><![CDATA[R package for ecological time series]]></category>
		<category><![CDATA[resource partitioning in wildlife]]></category>
		<category><![CDATA[Rosario]]></category>
		<category><![CDATA[Rosario algorithm]]></category>
		<category><![CDATA[species niche partitioning]]></category>
		<category><![CDATA[temporal autocorrelation in ecological data]]></category>
		<category><![CDATA[temporal niche overlap]]></category>
		<category><![CDATA[temporal overlap analysis]]></category>
		<category><![CDATA[time-preserving randomisation]]></category>
		<guid isPermaLink="false">https://scienmag.com/?p=318197</guid>

					<description><![CDATA[The Rosario R package uses cyclic randomisation and null models to assess concurrent temporal overlap among three British Columbia cervid species while preserving the structure of observed activity patterns.]]></description>
										<content:encoded><![CDATA[<p>The Rosario randomisation algorithm is now available as an R package, providing researchers with a null-model test of whether cyclical activity patterns shared by multiple organisms differ from patterns expected under a time-preserving randomisation scheme. The R implementation expands access to a method originally developed for analysing diel temporal overlap within local ecological communities. In a demonstration using camera-trap records from British Columbia, Canada, researchers applied the package to the daily schedules of mule deer, elk and white-tailed deer, evaluating their concurrent overlap as well as individual pairwise overlap values.</p>
<p>Ecological time has a structure that ordinary randomisation can obscure. Habitat, food and time are major dimensions of a species’ niche, and access to resources during particular parts of the daily cycle may influence survival. Species can partition resources spatially or trophically, as well as through differences in the timing of resource use. Daily activity, tidal patterns and annual phenology are cyclical because observations repeat around a closed sequence: the end connects back to the beginning. Adjacent time intervals in these observations are temporally dependent, so treating them as unrelated categories can erase the autocorrelation that gives cyclical patterns their shape.</p>
<p>Rosario was designed specifically for data with this circular structure. Its null model generates alternative arrangements by shifting entire empirical time-use patterns around the cycle and adding mirror images of those shifts. Each alternative retains the original frequency distribution and temporal autocorrelation but changes the location of the pattern within the full time extent. This approach differs from the scrambled-zeros and conserved-zeros randomisation models, which were developed for non-sequential resource matrices in which resource categories are unordered. Those models treat zero values differently and disrupt the circular structure of cyclical observations.</p>
<p>The rosario() function performs the initial randomisation step. It advances an observed pattern sequentially until its modal value has occupied each interval in the complete time extent, producing a set of cyclic shifts. It also constructs mirror images by reversing the order of each pattern. For an analysis involving several biological identities, the package randomly selects one shifted or mirrored scenario for each identity and combines those choices into a pseudo-observation matrix. It then calculates the mean of all pairwise overlaps in that matrix and repeats the operation to generate a null frequency distribution, commonly through about 1,000 simulations.</p>
<p>Two indices are available for quantifying similarity in resource use, here interpreted as time use: Pianka’s overlap index and the Czekanowski index. The observed value can be compared with the simulated distribution to evaluate concurrent overlap among all included identities. This is the principal analytical distinction between Rosario and tools centred on pairwise comparison. Pairwise estimates can characterise similarity between two organisms, but aggregating those estimates does not directly test the overlap exhibited simultaneously by an entire assemblage. Rosario’s null model evaluates that shared pattern within one analysis involving three or more biological identities.</p>
<p>The R package provides functions for the main stages of this workflow. The temp_overlap() function calculates observed mean pairwise overlap using the selected index, and get_null_model() performs the randomisation test. Plotting tools show the first ten hypothetical time-use distributions for a selected identity and display the simulated overlap frequencies alongside the observed value. Input takes the form of a matrix, with rows representing individuals, species or populations and columns representing time intervals. Researchers can also use rescale_matrix() to convert rows to proportions, which can be useful when comparisons involve entities with very different sample sizes. The stable release is available through CRAN, with a development repository and a real-world vignette hosted on GitHub.</p>
<p>The demonstration drew on summer observations from the SIM Deer project in British Columbia, obtained through the publicly accessible Wildlife Insights platform. The analysis covered June, July and August in 2020, 2021 and 2022 and included 85,929 capture events: 51,691 involving mule deer, 19,395 involving elk and 14,843 involving white-tailed deer. Capture records were assigned to 30-minute intervals, with the interval width chosen before analysis according to the study objectives and the need for biologically meaningful comparisons. The input matrix contained one row for each of the three cervid species and one column for each interval in the 24-hour cycle.</p>
<p>The resulting activity curves suggested that the species shared some timing while varying in their daily distributions. Mule deer showed peaks around dawn, at approximately 06:00, and dusk, at approximately 18:00, with additional activity during nighttime hours. Elk displayed a strong peak around dusk, a substantial daytime peak around 10:00 to 11:00 and some nocturnal activity. White-tailed deer also showed dawn and dusk peaks, although its dusk peak was less pronounced than that of mule deer, and it exhibited noticeable activity around midday. Taken together, the curves were consistent with a degree of crepuscular behaviour across the three species. Their visible similarities and variations, however, cannot by themselves establish whether concurrent overlap is unusual; that question is addressed by comparing the observed value with the cyclic null distribution.</p>
<p>Calculations from Rosario, the activity package and the overlap package produced broadly similar overlap values, indicating that Rosario’s Pianka and Czekanowski indices yielded results comparable to those obtained with the other R approaches. The analytical scope nevertheless differed. The activity and overlap tools chiefly supplied statistical comparisons between species pairs, whereas Rosario additionally returned pairwise indices and a null-model assessment of overlap among all three cervids. The example therefore combines two kinds of output: a numerical description of activity and overlap and an evaluation of the combined pattern against an alternative distribution generated while preserving the circular structure of the observations.</p>
<p>Several limitations constrain how the method should be applied. Rosario is designed for cyclical rather than sequential data. Sequential observations have a genuine beginning and end and do not possess the same circular structure, although long-term camera-trap records can be mapped onto a cyclical domain such as time of day, season or year before analysis. Comparisons among organisms that are not sympatric require additional care because differences in yearly variation can affect activity or phenology. For diel data, time transformation may be required depending on a study’s location, duration and latitudinal separation among sampling sites. These constraints make temporal alignment and explicit ecological assumptions essential, while the move to R broadens access to the algorithm and supports more standardised comparison with existing packages for activity, overlap and cyclical ecological data.</p>
<p><strong>Subject of Research:</strong> Null-model analysis of concurrent temporal niche overlap in cyclical ecological data</p>
<p><strong>Article Title:</strong> Rosario: An algorithm to analyse cyclical data in Ecology</p>
<p><strong>Article References:</strong> Velásquez-Roa, T., Hurtado-Materon, M., Robles-Fernández, A., &amp; Castro-Arellano, I. (2026). Rosario: An algorithm to analyse cyclical data in Ecology. <em>Biodiversity Data Journal, 14</em>, Article e176358. <a href="https://doi.org/10.3897/bdj.14.e176358" rel="noopener noreferrer">https://doi.org/10.3897/bdj.14.e176358</a></p>
<p><strong>Image Credits:</strong> AI Generated</p>
<p><strong>DOI:</strong> <a href="https://doi.org/10.3897/BDJ.14.e176358" rel="noopener noreferrer">10.3897/BDJ.14.e176358</a></p>
<p><strong>Keywords:</strong> Rosario algorithm, R package, temporal niche overlap, null models, cyclic randomisation, camera traps, cervid activity, Pianka overlap, Czekanowski overlap, ecological time series, Rosario, algorithm</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">318197</post-id>	</item>
	</channel>
</rss>
