extractplot: Title

Description Usage Arguments Value

Description

Title

Usage

1
2
3
4
extractplot(data, plotcol = "n_parcelle", plot = 11,
  sizecol = "circ_corr", centimeters = T, alivecol = "code_vivant",
  circonference = T, Genre = "Genre", Espece = "Espece",
  species_name = FALSE, Paracou_correct = TRUE)

Arguments

data

data.frame Paracou dataset, for example

plotcol

Column indicating the plot IDs, that are ideally integers

plot

Integer. The number corresponding to the plot you wanna extract

sizecol

Character. The column indicating the tree size measurement : DBH or circonference. The latter will need to be converted, which is done if "circonference = T"

centimeters

Logical. If your DBH are in centimeters, function converts it into milimeters.

alivecol

Character. Column indicating if measured trees are alive, dead, fallen, etc. Only live trees are retained.

circonference

Logical. If true, conversion to dbh will be done. If false, you mean that size measurements in your data are diameters at breast height.

Genre

Character. The column indicating the individuals' genera.

Espece

Character. The column indicating the species names.

species_name

Logical. False, if you have genus and species name separatedly. True if you already have a column aggregating genus and species names separated by an under_score.

Paracou_correct

Logical. Specific of Paracou, to prevent crashes from database-inherent singularities

Value

Output is a dataframe corresponding to all the inventories for the plot you selected, with species column added and circonference converted to dbh if ever needed.


Riodinino/TROLLmsc documentation built on May 14, 2019, 3:08 a.m.