powered by
Create an object of class "rankings" from tricot ranking data.
rank_tricot2(data, id, items, input, ...)
a PlackettLuce "rankings" object, which is a matrix of dense rankings
a data.frame with columns specified by items and input values
an index of data indicating the id column
data
a character or numerical vector for indexing the column(s) containing the item names in data
a character or numerical vector for indexing the column(s) containing the values in data to be ranked
additional arguments passed to methods. See details
Kauê de Sousa
van Etten J., et al. (2016). Experimental Agriculture, 55(S1), 275–296. tools:::Rd_expr_doi("https://doi.org/10.1017/S0014479716000739")
rankings, nicabean
rankings
nicabean
Other rank functions: rank_numeric(), rank_tricot(), set_binomialfreq(), set_paircomp()
rank_numeric()
rank_tricot()
set_binomialfreq()
set_paircomp()
library("gosset") R = nicabean$trial R = R[R$trait == "Vigor", ] names(R) R = rank_tricot2(R, id = "id", items = "item", input = "rank")
Run the code above in your browser using DataLab