getTraitList {ClimMobTools} | R Documentation |
Organise trait ranks in a ClimMob data
Description
This function helps in identifying the traits assessed in the tricot project and validates the data returning a list with logical vectors to support the transformation of tricot rankings into a PlackettLuce ranking
Usage
getTraitList(data, pattern, trait.labels = NULL, ...)
Arguments
data |
a data.frame with the ClimMob data |
pattern |
a character with the tricot ranking pattern |
trait.labels |
an optional character with clean trait labels |
... |
additional arguments, not implemented yet |
Value
a list with trait validation data
Examples
require("gosset")
data("breadwheat", package = "gosset")
getTraitList(breadwheat, c("_best", "_worst"))
[Package ClimMobTools version 1.2 Index]