This function is mostly useful for generating the qualitative trend analysis plots. It returns the pattern numbers for input patterns.
elaborator_calculate_pattern_number(p)
A numeric vector giving the pattern numbers for all input patterns.
matrix with patterns within each row. A pattern is described by a combination of elements -1, 0, 1 for decrease, stability and increase between adjacent visits.