Is this a typo in the R matrices practice section?

https://www.codecademy.com/practice/tracks/introduction-to-programming-in-r/modules/intro-to-programming-in-r

The common way to report a bug or typo is to click ‘Get Unstuck’ but that button does not appear on this page.

Under the R matrices section it says

To access a single element inside a matrix called ex_matrix , you can look up the item in the r th row and the c th column like so: ex_matrix[r, ] .

To access the entire r th row, you can refer to it like so: ex_matrix[r, c] . To access the c th column, use ex_matrix[ , c] .

I think it has it backwards - ‘ex_matrix[r, c]’ accesses a single element and ex_matrix[r, ] grabs the entire row.

Which is correct?