Description Usage Arguments Value Examples

The function is used to calculate and plot background respiration, absolute and mass-specific metabolic rates.

1 2 3 4 | ```
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`

.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ```
# 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)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.