Skip to contents

All functions

TGC_calculate_coefficent()
Calculate the thermal growth coefficient
TGC_calculate_degree_days()
Use TGC model to calculate degree days required to grow from initial to final weight
TGC_calculate_final_weight()
Calculate final body weight using TGC model
TGC_calculate_initial_weight()
Calculate initial body weight using TGC model
apply_dd_filters()
Apply filters to prepare data for degree-day calculation
calc_mode()
Extract the most common value in a vector
calculate_event_duration()
Calculate the duration of time VALUE exceeds a threshold (above or below)
check_for_data_gaps()
Check for substantial gaps in the time series
count_degree_days()
Count number of degree-days
count_growing_days()
Count number of days that were suitable for growth
count_max_event_days()
Count the maximum number of days VALUE exceeds a threshold (above or below)
create_station_label()
Assign a label in the form Station Name Long Season
filter_in_growing_seasons()
Keep observations that occur during growing seasons
filter_in_growing_seasons_single()
Keep observations that occur during growing seasons
filter_out_heat_stress_events()
Filter out observations that occur during heat stress events
filter_out_heat_stress_events_single()
Filter out observations that occur during heat stress events
identify_first_superchill()
Identify when VALUE first crosses below a threshold
identify_growing_seasons()
Identify start and end of growing seasons for each year
identify_heat_stress_events()
Identify start and end of non-overlapping heat stress events
identify_heat_stress_intervals()
Identify n-hour intervals beginning when a threshold is exceeded
identify_trending_up()
Identify when VALUE begins trending up
plot_degree_days()
Plot degree days at depth for each season start date
plot_filtered_data()
Plot filtered data with removed data greyed out
plot_temperature_at_depth()
Plot temperature coloured by depth
string_data
Example temperature data