Data from: A phantom decoy shifts wild Forager decisions in a natural environment
Data files
Jun 04, 2026 version files 347.87 KB
-
Phase1and3_preference_trials.r
21.17 KB
-
Phase1and3_preference_trials.xlsx
146.40 KB
-
Phase2_decoy_trial.R
9.30 KB
-
Phase2_decoy_trial.xlsx
164.13 KB
-
README.md
6.87 KB
Abstract
Seemingly irrelevant options, such as inferior or unavailable “decoys”, can shift decisions people and captive animals make in simplified environments. But do decoys influence animals in messy, complex, natural environments? Here, we explored this question in a foraging context, a process involving countless daily decisions that ultimately underpin animal fitness. We tested whether a “phantom decoy” (inaccessible but preferred food) influenced food choice of free-ranging swamp wallabies across three scenarios: Binary—two available, equally preferred foods differing nutritionally; Phantom—two available foods plus an inaccessible phantom decoy nutritionally similar to one; Trinary—all three foods available. We analysed data using a new approach that overcame cross-level bias, when individual choices shift in opposite directions leading to no overall shifts. We found that the phantom decoy made wallabies more likely to switch their choice away from the nutritionally similar food—a net reactance effect. Unexpectedly, when all foods were available, wallaby choices appeared random and haphazard, suggesting cognitive overload. These findings demonstrate that decoys can shape ecologically relevant foraging decisions, so their influence is not simply an inadvertent byproduct of stylised simplistic settings. As such, traditional foraging models may better predict real-world foraging decisions by incorporating decoy effects.
Dataset DOI: (https://doi.org/10.5061/dryad.2jm63xt3w)
Description of the data and file structure
Swamp wallaby choice tasks in Ku-Ring-Gai Chase National Park, NSW, Australia
Files and variables
File: Phase1and3_preference_trials.r
Description: R code for statistical analysis and figures for preference trials
File: Phase2_decoy_trial.R
Description: R code for statistical analysis and figures for decoy trial
File: Phase1and3_preference_trials.xlsx
Description: Choice data for all preliminary and follow-up preference trials
Variables with the same meaning across all sheets:
- Id: Row number of data
- Date: Date of trial (day)
- Month: Date of trial (month)
- Year: Date of trial (year)
- Day: Day of trial (1-4)
- Plot: Location code of plot
- Feeder: Food is either of left hand side (LHS) or right hand side (RHS)camera: Number of camera at plot
- sd_card: sd card used at a plot
- Switch diet: If the animal switched foods during the feeding bout (1 = yes, 0 = no)
- First come: If the first food walked to was the first food eaten by the animal (1 = yes, 0 = no)
- BW video: 1 = bw vid , 0 = colour vid
- First eaten: If the food was the first eaten (1 = yes, 0 = no)
- Eating Total duration (s) :Total time spent eating food during bout in seconds (up to 60 seconds)
- Food Eaten %: percentage time spent eating each food
- Smell food Total duration (s): Total time spent sniffing food during bout in seconds
NA Data: Data not available — missing due to camera malfunction, a different animal consuming the foods prior to wallaby visits (e.g. brush turkey), or plot not visited.
Sheet 1: PhantomvsTarget-Before (Main Text)
Preference Trial between phantom decoy and target artificial foods conducted before the decoy trial
- Food: Food Phantom Decoy or Target
- treatment: binary - two available options
Sheet 2: PhantomvsCompetitor-Before (Main Text)
Preference Trial between phantom decoy and competitor artificial foods conducted before the decoy trial
- Food: Food Phantom Decoy or Competitor
- treatment: binary - two available options
Sheet 3: TargetvsCompetitor-Before (Main Text)
Preference Trial between target and competitor artificial foods conducted before the decoy trial
- Food: Food Target or Competitor
- treatment: binary - two available options
Sheet 4: PhantomvsTarget-After (Main Text/Supplementary Material)
Preference Trial between phantom decoy and target artificial foods conducted after the decoy trial
- Food: Food - phantom decoy or target
- treatment: matched for volume or matched for mass
Sheet 5: PhantomvsCompetitor-After (Main Text/Supplementary Material)
Preference Trial between phantom decoy and competitor artificial foods conducted after the decoy trial
- Food: Food - phantom decoy or competitor
- treatment: matched for volume or matched for mass
Sheet 6: AvsB (Supplementary Material)
Preference Trial between artificial foods A and B
- Food: Food A or B
- treatment: binary - two available options
Sheet 7: BvsC (Supplementary Material)
Preference Trial between artificial foods B and C
- Food: Food B or C
- treatment: binary - two available options
Sheet 8: FvsG (Supplementary Material)
Preference Trial between artificial foods F and G
- Food: Food F or G
- treatment: binary - two available options
File: Phase2_decoy_trial.xlsx
Description: Decoy trial choice Data
NA Data: Data not available — missing due to camera malfunction, a different animal consuming the foods prior to wallaby visits (e.g. brush turkey), or plot not visited.
Sheet: 1. Decoy Trial Data (Main Text)
Organised for group level analysis
- Id: Row number of data
- Date: Date of trial (day)
- Month: Date of trial (month)
- Year: Date of trial (year)
- Trial Day: Day 1-4 of each trial per period. If plot not visited on day 3, day 4 is trial day 3.
- Day: Day 1-4 of each trial per period
- Plot: Location code of plot
- camera: Number of camera at plot
- sd_card: sd card used at a plot
- feeder: Food is either of left hand side (LHS) or right hand side (RHS)
- food: Food: Phantom decoy, target or competitor (different nutrition compositions)
- treatment: binary, phantom decoy, trinary
- Switch diet: If the animal switched foods during the feeding bout (1 = yes, 0 = no)
- First come: If the first food walked to was the first food eaten by the animal (1 = yes, 0 = no)
- BW video: 1 = bw vid , 0 = colour vid
- species 1st eaten: The species that first ate the food at plot
- X2WFirst eaten: If the food was the first eaten (1 = yes, 0 = no)
- First eaten of Target and Competitor: First food eaten out of target and competitor when phantom decoy is present
- Eating Total duration (s): Total time spent eating food during bout in seconds (up to 60 seconds)
- Food Eaten %: percentage time spent eating food target vs competitor vs phantom decoy
- Smell food Total duration (s): Total time spent sniffing food during bout in seconds
Sheet: 2. DataPrefbyPlot (Main Text)
Organised for individual plot level analysis
- Plot: Location code of plot (analysis at plot level)
- TrtWeek1: Treatment in week 1: binary, phantom decoy, trinary
- TrtWeek2: Treatment in week 2: binary, phantom decoy, trinary
- TrtWeek3: Treatment in week 3: binary, phantom decoy, trinary
- X2prefD3binary: Food first eaten in binary. Can be Target or Competitor.
- X2prefD3Phantom: Food first eaten in phantom treatment. Can be Target or Competitor.
- X2prefD3Trinary: Food first eaten in Trinary treatment. Can be Target, Competitor, PD (phantom decoy food).
- TreatCompare: What treatments are being compared (binary vs phantom), (binary vs trinary) or (phantom vs trinary)
- order: order of treatments presented at plot level (by week)
- Weeksbinaryvsphantomvstrinary: what weeks one treatment was presented followed by what week another treatment was presented
- ConsecWeeksbwTrt: If treatments were presented in consecutive weeks. (1) = yes, (0) = no
- X2SwitchPrefD3: If there was a switch in food preference between treatments (1) = yes, (0) = no.
Code/software
RStudio: Integrated Development Environment for R. Posit Software, PBC, Boston, MA, version: 2025.9.0.387
Packages used: betareg, Hmisc, faraway, tidyverse, brglm2, glmmTMB, emmeans, lme4, car, visreg, ggplot2, dplyr, coxme, readxl, ggeffects
