burtTable {anacor} | R Documentation |
Utility function to produce a Burt matrix out of a data-frame or a profile frequency matrix
burtTable(data, pf = FALSE)
data |
Data frame to be converted. |
pf |
TRUE for profile frequency matrix. |
# artificial data x1 <- sample(1:6, 20, replace = TRUE) x2 <- sample(1:3, 20, replace = TRUE) data <- data.frame(x1,x2) burtTable(data)