Description Usage Arguments Details Value See Also Examples

BDAT-Function to get wood volume under bark of one or many trees of a section between height A and height B

1 | ```
BDATVOLABOR(BDATArtNr, D1, H1 = 1.3, D2 = 0, H2 = 0, H, A, B, SekLng = 2)
``` |

`BDATArtNr` |
numeric vector of species code; see |

`D1` |
first measured diameter of tree [cm], e.g. diameter in breast height |

`H1` |
measurement height of |

`D2` |
second measured diameter of tree, see |

`H2` |
measurement height of D2, see |

`H` |
total tree height [m] |

`A` |
lower height of section for which volume is required [m] |

`B` |
upper height of section for which volume is required [m] |

`SekLng` |
length of section over which the integral of taper form should be applied, defaults to 2.0m |

wood volume is calculated using BDAT Fortran routines.

vector of same length as input variables transformed into a data.frame, returning the required wood volume in cubic meter.

`BDATVOLABMR`

for BDAT routine calculating volume over
bark, `getVolume`

for a function with a convenient english name,
more options and including a bark switch.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ```
## simple call of function, with all parameters
BDATVOLABOR(1, 30, 1.3, 0, 0, 25, .25, 5.25, 2.0)
BDATArtNr <- 1
D1 <- 30
H1 <- 1.3
D2 <- 0
H2 <- 0
H <- 25
A <- 1
B <- 10
## same with variables
BDATVOLABOR(BDATArtNr = BDATArtNr, D1 = D1, H1 = H1, D2 = D2, H2 = H2, H = H, A = A, B = B)
## calling with a subset of tree characteristics
## german species names, abbreviated
BDATVOLABOR(getSpeciesCode(c("Fi", "Bu")), 30, 0, 0, 0, H = 25, A = 0, B = 25)
## english abbreviation
BDATVOLABOR(getSpeciesCode(c("NS", "BE")), 30, 0, 0, 0, H = 25, A = 0, B = 25)
``` |

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.