Create coverconvert objectsSource:
df2coverconvert(x, ...) # S3 method for list df2coverconvert(x, ...) # S3 method for data.frame df2coverconvert(x, name, ...)
Either a data frame or a list of data frames containing the conversion table. Three columns are mandatory in such data frames, namely value (factor with the symbols for each class in the cover scale, sorted from the lowest to the highest value), bottom (numeric value with the bottom values of each class), and top (numeric value with the top values of each class). The values bottom and top are usually as cover percentage but they may refer to any other numeric abundance.
Further arguments passed among methods.
A character value used as name of the cover scale in the data frame method. In the list method, this name will be extracted from the names of the elements in the list.
Miguel Alvarez firstname.lastname@example.org
## Convert object into list cov <- as(Kenya_veg@coverconvert, "list") ## Convert back to coverconvert cov <- df2coverconvert(cov)