How arrange diagram in R
问题 I want to get diagram similar to picture below, but code I use creates different diagram. With rbind I added some hierarchy to a diagram. In data frame col0 there is a string with names of animals. In col1 string is split into individual animals & col2 is adding latin name for a animal. col1 data are always changing and in col2 data constant (there always be feline or canis names in that column). library(igraph) # I create my dataframe with animals df <- data.frame(col0 = c("Cat Dog Wolf",