Efficient ways of creating matrix based on vector matches

前端 未结 0 639
谎友^
谎友^ 2021-01-26 08:20

Please, consider the following code:

x <- c(\'dog\', \'cow\', \'horse\', \'rabbit\', \'bear\', \'seal\', \'lion\', \'ostrich\',\'cat\', \'hamster\')
y <- c(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题