Description Usage Arguments Value Note Examples
View source: R/skeleton_weight.R
The buoyant weight is a simply tools. This method reduces the stress during the manipulation of the coral's nubbins. The buoyant weight is used to calculate the skeleton weight. The evolution of skeleton weight can bu used to monitor the growth of the coral's nubbins.
1 2 3 | skeleton_weight(buoyant_weight, S, T, P = 0, rho_aragonite = 2930)
rho(S = 35, T = 25, P = 0)
|
buoyant_weight |
buoyant weight in gramme |
S |
salinity in PSU |
T |
temperature in degree Celsius |
P |
hydrostatic pressure in bar |
rho_aragonite |
density of the aragonite |
skeleton weight
[rho()] is borrowed from [seacarb::rho()], but its code is copied here because do *not* want to import **seacarb** that itself depends on **oce** and **gsw** that bring a lot of useless additional dependencies!
1 2 3 4 5 6 7 8 | skeleton_weight(buoyant_weight = 25, S = 35, T = 25, P = 0, rho_aragonite = 2930)
# second example on a dataset , growth
data(growth) # load data
growth$skeleton_weight <- skeleton_weight(buoyant_weight = growth$weight,
S = growth$salinity, T = growth$temperature, P = 0, rho_aragonite = 2930) # compute new variable
growth$skeleton_weight # see the new variable
# more information see vignette
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.