In the Research Article, “The effects of external cues on individual and collective behavior of shoaling fish,” the authors discovered an error in the description of the calculation of the entropy rate, detailed in an earlier version of S1.6 of the Supplementary Materials. This error appears in some of the indices of the matrix equation that is solved to determine the elements of the stationary distribution on page 17 of the Supplementary Materials. Row 3, column 1; row 5, column 1; and row 5, column 2 were affected as the order of the subscript indices were incorrect.
The authors determined that the error was not just typographical and had carried over into the MATLAB scripts used to determine the entropy rate, including the results reported in Fig. 8 (panels C and F), Figure S35 (panels G, H, and I), Supplementary Material pages 74-75 and Figure S36 (panels G, H, and I). The authors corrected the code used to calculate the entropy rate, and replotted Figs. 8, S35 and S36 based on the corrected analysis. These figures have been corrected in the updated PDF and HTML versions of the article to reflect a consistent relationship between the entropy (leftmost columns) and entropy rate (rightmost columns).