calculate.MR | R Documentation |
The function is used to calculate and plot background respiration, absolute and mass-specific metabolic rates.
calculate.MR(slope.data, density = 1000,
plot.BR = TRUE,
plot.MR.abs = TRUE,
plot.MR.mass = TRUE)
slope.data |
a data frame obtained by using the function |
density |
numeric: the density of an animal body ( |
plot.BR |
logical: if TRUE, the graph of background respiration rate is plotted |
plot.MR.abs |
logical: if TRUE, the graph of absolute metabolic rate is plotted |
plot.MR.mass |
logical: if TRUE, the graph of mass-specific metabolic rate is plotted |
The function returns a data frame with calculated background respiration, absolute and mass-specific metabolic rates. The data frame is used in the function export.MR
.
# if the data have been already loaded to R,
# skip the first two lines of the code:
data(SMR.slope)
data(AMR.slope)
SMR <- calculate.MR(SMR.slope,
density = 1000,
plot.BR = TRUE,
plot.MR.abs = TRUE,
plot.MR.mass = TRUE)
AMR <- calculate.MR(AMR.slope,
density = 1000,
plot.BR = TRUE,
plot.MR.abs = TRUE,
plot.MR.mass = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.