veg_relation | R Documentation |
Tables providing information about levels of categorical variables in the
header are called popups
in Turboveg databases
but relations
in vegtable objects.
Such variables will be converted into factors in the slot header
according
to the levels and their sorting in the respective relation.
veg_relation(vegtable, relation, ...)
## S4 method for signature 'vegtable,character'
veg_relation(vegtable, relation, match_header = FALSE, ...)
veg_relation(vegtable) <- value
## S4 replacement method for signature 'vegtable,data.frame'
veg_relation(vegtable) <- value
vegtable |
An object of class vegtable. |
relation |
A character value indicating the relation table to be retrieved or replaced. |
... |
Further arguments to be passed among methods. |
match_header |
A logical vector, whether only levels occurring in slot
|
value |
A data frame containing the new veg_relation. |
This function retrieves and object of class data.frame
.
In the replacement method, an object of class vegtable, including
value
in the slot relations
.
Miguel Alvarez kamapu78@gmail.com
## overview of references
veg_relation(Kenya_veg, "REFERENCE")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.