burtTable {anacor}R Documentation

Creates Burt Matrix

Description

Utility function to produce a Burt matrix out of a data-frame or a profile frequency matrix

Usage

burtTable(data, pf = FALSE)

Arguments

data Data frame to be converted.
pf TRUE for profile frequency matrix.

See Also

expandFrame, mkIndiList

Examples


# artificial data 
x1 <- sample(1:6, 20, replace = TRUE) 
x2 <- sample(1:3, 20, replace = TRUE)
data <- data.frame(x1,x2)
burtTable(data)


[Package anacor version 0.9-8 Index]