Last chance! 50% off unlimited learning
Sale ends in
This function reads the content of cover conversion tables stored in ‘Turboveg’ and attempts to reformat them in a more comprehensive structure.
tv2coverconvert(file, as.is=TRUE)
A connection to a DBF file containing conversion table in ‘Turboveg’.
A logical value passed to read.dbf
This function is used by tv2vegtable
to import the respective
conversion table from ‘Turboveg’ databases.
Note that conversion tables in ‘Turboveg’ have only stored the middle point for
each cover class in a scale, thus it will be recommended to rebuild the
'coverconvert'
slot or use braun_blanquet
.
# NOT RUN {
library(vegtable)
## Installed 'Turboveg' version of "Fujiwara et al. (2014)"
TV_Home <- file.path(path.package("vegtable"), "tv_data", "popup", "Swea")
Table <- tv2coverconvert(file.path(TV_Home, "tvscale.dbf"))
## First scale have to be deleted from conversion table
Table@value <- Table@value[-1]
Table@conversion <- Table@conversion[-1]
summary(Table)
## Compare the 'Turboveg' version with a vegtable version
data(braun_blanquet)
summary(Table$br_bl)
summary(braun_blanquet$br_bl)
# }
Run the code above in your browser using DataLab