Learn R Programming

⚠️There's a newer version (0.75) of this package.Take me there.

chillR (version 0.72.2)

Statistical Methods for Phenology Analysis in Temperate Fruit Trees

Description

The phenology of plants (i.e. the timing of their annual life phases) depends on climatic cues. For temperate trees and many other plants, spring phases, such as leaf emergence and flowering, have been found to result from the effects of both cool (chilling) conditions and heat. Fruit tree scientists (pomologists) have developed some metrics to quantify chilling and heat (e.g. see Luedeling (2012) ). 'chillR' contains functions for processing temperature records into chilling (Chilling Hours, Utah Chill Units and Chill Portions) and heat units (Growing Degree Hours). Regarding chilling metrics, Chill Portions are often considered the most promising, but they are difficult to calculate. This package makes it easy. 'chillR' also contains procedures for conducting a PLS analysis relating phenological dates (e.g. bloom dates) to either mean temperatures or mean chill and heat accumulation rates, based on long-term weather and phenology records (Luedeling and Gassner (2012) ). As of version 0.65, it also includes functions for generating weather scenarios with a weather generator, for conducting climate change analyses for temperature-based climatic metrics and for plotting results from such analyses. Since version 0.70, 'chillR' contains a function for interpolating hourly temperature records.

Copy Link

Version

Install

install.packages('chillR')

Monthly Downloads

1,162

Version

0.72.2

License

GPL-3

Maintainer

Eike Luedeling

Last Published

January 6th, 2021

Functions in chillR (0.72.2)

GDH

Calculation of cumulative heat according to the Growing Degree Hours Model
ChuineFstar

ChuineFstar
Empirical_hourly_temperatures

Empirical daily temperature prediction
Empirical_daily_temperature_curve

Empirical daily temperature curve
Date2YEARMODA

Date to YEARMODA conversion
GDD

Calculation of cumulative heat according to the Growing Degree Day Model
Dynamic_Model

Dynamic_Model
DynModel_driver

DynModel_driver
ChuineCF

ChuineCF
Chilling_Hours

Calculation of cumulative chill according to the Chilling Hours Model
PhenoFlex

PhenoFlex
PLS_pheno

Partial Least Squares analysis of phenology vs. daily mean temperatures
PLS_chill_force

Partial Least Squares analysis of phenology vs. accumulated daily chill and heat
GDH_model

Calculation of cumulative heat according to the Growing Degree Hours Model (alternative function name)
JDay_count

Count days between two Julian dates
StepChill_Wrapper

StepChill_Wrapper
UniChill_Wrapper

UniChill_Wrapper
UniForce_Wrapper

UniForce_Wrapper
add_date

Add date/time column to data.frame
PhenoFlex_GAUSSwrapper

PhenoFlex_GAUSSwrapper
UnifiedModel_Wrapper

UnifiedModel_Wrapper
bloom_prediction

Bloom prediction from chilling and forcing requirements, assumed to be fulfilled strictly in sequence
Winters_hours_gaps

Hourly temperature data sample
YEARMODA2Date

YEARMODA to Date conversion
PhenoFlex_fixedDynModelwrapper

PhenoFlex_fixedDynModelwrapper
RMSEP

Root Mean Square Error of Prediction (RMSEP)
check_temperature_scenario

Check temperature scenario for consistency
JDay_earlier

Check whether a Julian date is before or after another one
JDay_later

Check whether a Julian date is after another one
RPD

Residual Prediction Deviation (RPD)
KA_bloom

Cherry bloom data for Klein-Altendorf, Germany
chilling

Calculation of chilling and heat from hourly temperature records
Utah_Model

Calculation of cumulative chill according to the Utah Model
PhenoFlex_GDHwrapper

PhenoFlex_GDHwrapper
california_stations

Weather stations in California
VIP

Calculate VIP scores for PLS regression
extract_temperatures_from_grids

Extract temperature information from gridded dataset
KA_weather

Weather data for Klein-Altendorf, Germany
check_temperature_record

Check a daily or hourly temperature record for compliance with chillR's standards
PhenoFlex_fixedDynModelGAUSSwrapper

PhenoFlex_fixedDynModelGAUSSwrapper
bootstrap.phenologyFit

bootstrap.phenologyFit
filter_temperatures

Quality filter for temperature records
chilling_hourtable

Add chilling and heat accumulation to table of hourly temperatures
RPIQ

Ratio of Performance to InterQuartile distance (RPIQ)
handle_ucipm

List, download or convert to chillR format data from the UCIPM database
interpolate_gaps_hourly

Interpolate gaps in hourly temperature records
handle_wunderground

List, download or convert to chillR format data from the Weather Underground airport database
c.bootstrap_phenologyFit

Concatenate bootstrap_phenologyfit objects
leap_year

Leap year finder
make_climate_scenario

Make climate scenario
make_climate_scenario_from_files

Make climate scenario from multiple saved csv files
color_bar_maker

Make color scheme for bar plots in outputs of the chillR package
bloom_prediction2

Bloom prediction from chilling and forcing requirements, assumed to be fulfilled strictly in sequence - version 2
daily_chill

Calculation of daily chill and heat accumulation
daylength

Compute sunrise and sunset times, and daylength
patch_daily_temperatures

Patch gaps in daily weather records
ordered_climate_list

Sort files in a folder, so that numbers are in ascending sequence
handle_cimis

List, download or convert to chillR format data from the CIMIS database
genSeason

Generate Seasons
fix_weather

Weather data fixer and quality checker
chile_agromet2chillR

Convert a weather file downloaded from the Chilean Agromet website to chillR format
handle_gsod

List, download or convert to chillR format data from the Global Summary of the Day database
bloom_prediction3

Bloom prediction from chilling and forcing requirements, assumed to be fulfilled strictly in sequence - version 3
chifull

chifull
make_daily_chill_figures

Produce image of daily chill and heat accumulation
make_daily_chill_plot

Plot daily climate metric accumulation throughout the year
runn_mean_pred

Prediction based on a running mean
genSeasonList

genSeasonList
make_hourly_temps

Make hourly temperature record from daily data
make_daily_chill_plot2

Plot daily climate metric accumulation throughout the year (2)
chillR-package

chillR: Statistical Methods for Phenology Analysis in Temperate Fruit Trees
getClimateWizard_scenarios

Extract mutltiple scenarios from the ClimateWizard database
get_last_date

Get the last date from a phenology record
identify_common_string

Identify shared leading or trailing character strings
extract_differences_between_characters

Identify shared leading or trailing character strings
save_temperature_scenarios

Save temperature scenarios generated with temperature_generation
plot_PLS

Output of Partial Least Squares analysis results of phenology vs. daily mean temperatures
getClimateWizardData

Extract climate data from the ClimateWizard database
load_ClimateWizard_scenarios

Load climate wizard scenarios
tempResponse

Calculation of climatic metrics from hourly temperature records
test_if_equal

Test if all character vectors in a string are equal
get_weather

Download weather data from online database
weather2chillR

Convert downloaded weather to chillR format
tempResponse_daily_list

Calculation of climatic metrics from lists of daily temperature records
interpolate_gaps

Linear gap interpolation
make_california_UCIPM_station_list

Makes a list of the UC IPM weather stations
make_JDay

Make Julian Day in dataframe
make_multi_pheno_trend_plot

Combine multiple phenology contour plots in one figure
make_chill_plot

Plot climate metrics over time
handle_chile_agromet

List, download or convert to chillR format data from the Chilean Agromet database
phenologyFit

phenologyFit
plot_climateWizard_scenarios

Plot mutltiple ClimateWizard scenarios obtained with getClimateWizard_scenarios
select_by_file_extension

Select string that end in a particular way (e.g. a certain file extension)
make_all_day_table

Fill in missing days in incomplete time series
print.phenologyFit

print phenologyFit
predict.phenologyFit

predict phenologyFit
make_pheno_trend_plot

Make image showing phenology response to temperatures during two phases
stack_hourly_temps

Stacking of hourly temperatures
plot.bootstrap_phenologyFit

plot bootstrap_phenologyFit
load_temperature_scenarios

Load temperature scenarios
phenologyFitter

phenologyFitter
summary.bootstrap_phenologyFit

summary.bootstrap_phenologyFit
summary.phenologyFit

summary phenologyFit
stage_transitions

Compute what it takes to advance through development stages
runn_mean

Running mean of a vector
read_tab

Read csv table regardless of whether it is a true csv or the French type
step_model

Calculation of cumulative temperature metric according to a user-defined stepwise weight function
plot.phenologyFit

plot phenologyFit
predict.bootstrap_phenologyFit

predict bootstrap_phenologyFit
plot_climate_scenarios

Plot multiple chilling scenario groups (or for other metrics)
tempResponse_hourtable

Add metric accumulation to table of hourly temperatures
temperature_generation

Generation of synthetic temperature records
temperature_scenario_baseline_adjustment

Make temperature scenario relative to a particular baseline
temperature_scenario_from_records

Make monthly temperature scenario from historic records