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
Sur cette page du site, vous pouvez voir la vidéo en ligne Write Functions in R: spiral matrix with R || 01 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Lab Time with R & Python 14 mars 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 216 fois et il a aimé 9 téléspectateurs. Bon visionnage!