Create a posterior probability matrix from a vector of cluster assignments.
For each trajectory, the probability of the assigned cluster is 1.
postprobFromAssignments(assignments, k)
assignments |
Integer vector indicating cluster assignment per trajectory |
k |
The number of clusters. |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.