How to Convert a Character Matrix to Numeric in R (Example) | as.numeric, matrix & ncol Functions

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

ncol = 4)
mat_char # Print character matrix

ncol = ncol(mat_char))
mat_num # Print numeric matrix

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

Could you please help me to sort out a problem? apply function to count the number of people in each 10 year age groups below (0-10, 11-20, 21-30 ...)

glenpjanson