filmov
tv
Extract Values & Names from table Object in R (Example) | Get Row | table(), as.numeric() & names()

Показать описание
R code of this video:
my_tab <- table(sample(letters[1:5], 100, replace = TRUE))
my_tab # Print example table
tab_values # Print values
tab_names <- names(my_tab) # Extract names
tab_names # Print names
Follow me on Social Media:
my_tab <- table(sample(letters[1:5], 100, replace = TRUE))
my_tab # Print example table
tab_values # Print values
tab_names <- names(my_tab) # Extract names
tab_names # Print names
Follow me on Social Media: