# Make an unordered costmatrix:
costmatrix <- make_costmatrix(
min_state = 0,
max_state = 2,
character_type = "unordered"
)
# Check that this is a valid costMatrix object (should return empty vector):
check_costMatrix(costmatrix = costmatrix)
Run the code above in your browser using DataLab