run_climwin: Run climwin analysis on data for a single population/species...

Description Usage Arguments Details Value

View source: R/run_climwin.R

Description

Run slidingwin and (optionally) randwin on data from a given bird population. This is generally used inside function estimate_sensitivity.

Usage

1
2
3
4
5
6
7
run_climwin(
  input_data,
  temp_data,
  randwin = FALSE,
  repeats = NA,
  dummy_test = FALSE
)

Arguments

input_data

A data frame with laying date data for a given population and species.

temp_data

Raster stack of temperature data across Europe.

randwin

Logical (TRUE/FALSE). Should randwin be run as well as slidingwin?

repeats

If randwin is TRUE, the number of times that data will be randomised.

dummy_test

To test code. If TRUE, will only analyse the first two years of data. Used for testing code.

Details

As part of this approach we:

Value

A list containing the output of climwin and (if conducted) randwin.


LiamDBailey/baileyetal2021 documentation built on Feb. 10, 2022, 12:34 a.m.