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

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

if (FALSE) { # interactive()

require("gosset")

data("breadwheat", package = "gosset")

getTraitList(breadwheat, c("_best", "_worst"))
}