In this video we build a function that given two arguments, a square matrix and an initial value, will fill the matrix with numbers in a spiral order.
#### Remark
Since the font size for the code in this video is a bit small I recorded again the video without explanations with a larger font size so it is easier to replicate the code.
You can find the video here:
R Shorts - only code: spiral matrix
• R Shorts - only code: spiral matrix with R
En esta página del sitio puede ver el video en línea Write Functions in R: spiral matrix with R || 01 de Duración hora minuto segunda en buena calidad , que subió el usuario Lab Time with R & Python 14 marzo 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 216 veces y le gustó 9 a los espectadores. Disfruta viendo!