mmaint | R Documentation |
Calculates the maintenance metabolism, in watt, for a shorebird following the model of Wiersma & Piersma (1994); the thermal conductance used is calculated following Kendeigth et al. (1977). Thermoregulatory costs will only occur when maintenance metabolism is above the Basal Metabolic Rate.
mmaint(weatherData, tide_table, timeBudget, breast_height, body_mass)
weatherData |
a data frame with wind speed (named "wind_speed") in m/s, temperature (named "temperature") in celsius degrees, global horizontal irradiance (named "GHI") in Wh/m^2, and datetime (named "date") in POSIXct format. |
tide_table |
a tide table based on which the tide codes will be calculated; these codes will be used to merge with timeBudget; must have a column named "date" with datetime info in POSIXct format and another one named "type" with values 'High' or 'Low'. |
timeBudget |
a data frame with tidal codes (column named "tide_code") and the proportion of time spent on each microhabitat in columns 'h1', 'h2', 'h3' ... 'h11', corresponding to the microhabitats in Wiersma & Piersma (1994; table 1). See correspondence under Details. If there is no variation in relation to tides, provide a data frame with only one row and the proportion per microhabitat |
breast_height |
breast height, in meters. |
body_mass |
body mass, in grams. |
Wiersma, P. and Piersma, T. 1994. Effects of microhabitat, flocking, climate
and migratory goal on energy expenditure in the annual cycle of red knots. -
Condor 96: 257 - 279.
Kendeigh, S. C., V. R. Dol'nik, and V. M. Gavrilov.
1977. Avian Energetics. Pp. 127 - 204 in J. Pinowski and S. C. Kendeigh,
editors. Granivorous birds in ecosystems. Cambridge University Press,
Cambridge, UK.
Microhabitats:
h1 - Densely vegetated salt marsh
h2 - Vegetated salt
marsh
h3 - Mudflat and bare salt marsh
h4 - On snow on tundra
h5 -
Behind tundra hillock
h6 - On tundra hillock
h7 - Dense group
h8 -
Open group
h9 - Solitary
h10 - Head in wind
h11 - Flank in wind
a data frame with the date, weather data, tide codes (if used), time budget and a column with the maintenance metabolism in W; prints a plot with the initial 15 days of data and the range of m_maint in the data
mmaint(weather, tides, time_budget, 0.17, 420)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.