tmPlot is in namespace, but its dependencies are not found

后端 未结 3 1576
礼貌的吻别
礼貌的吻别 2021-01-12 23:19

I have a package which uses the tmPlot function from treemap, but when I try to use the function, it throws an error that one of its dependencies i

3条回答
  •  说谎
    说谎 (楼主)
    2021-01-13 00:09

    before calling the tmPlot(data, index = index, vSize = vSize), you need to load RColorBrewer:

    require(RColorBrewer)
    

提交回复
热议问题