powered by
The function computes the incidence matrix of the linear order defined by the rank vector lin. It returns an object of S3 class incidence.
lin
incidence
linzeta(lin)
a vector of elements' ranks.
ranks <- c(5, 3, 4, 2, 1) names(ranks) <- LETTERS[1:5] linzeta(ranks) plot(linzeta(ranks))
Run the code above in your browser using DataLab