Convert Vector to Matrix in R (Example) | Create Matrices from Arrays | matrix Function, ncol & nrow

preview_player
Показать описание
R code of this video:

vec <- 1:15 # Create example vector
vec # Print example vector

mat <- matrix(vec, ncol = 3) # Convert vector to matrix
mat # Print matrix

Follow me on Social Media:
Рекомендации по теме
Комментарии
Автор

Hi Sir, Thanks for these vedios. Expecting few vedios on R shiny

Mahesh-ynkz
Автор

Are there any certification programmes which can certify R programmers?

Mahesh-ynkz
Автор

Hei, I have a questions regarding random effects can you help me?

sabbirhossainnihon