# This first command produces a real tetrachord:
set_from_signvector(c(-1, 1, 1, -1, -1, -1, 0, -1), 4)
# But this one, which changes only the last entry of the previous sign vector
# has no solution so will return four `NA` values.
set_from_signvector(c(-1, 1, 1, -1, -1, -1, 0, 1), 4)
Run the code above in your browser using DataLab