Hi Yu,
I want to merge tree and boxplot of my data. But it report errors at last step (inset(p, bx, width=.06, height=.2, hjust=-.05):
Error in grid.Call.graphics(L_setviewport, vp, TRUE) :
non-finite location and/or size for viewport
Can you help me? thanks
my data
> df
a b c d e f g h
1 0.34854 0.38225 3.41247 0.86128 NA 1.19451 1.36964 0.51087
2 0.67626 0.46555 0.11949 0.44937 0.00402 1.43267 1.14514 0.15683
3 0.41154 NA 0.06318 0.30053 0.99124 0.62837 1.26624 0.15655
4 0.25263 0.26086 0.06065 0.31537 NA 1.89757 0.94479 0.17812
5 0.26555 0.22474 0.08976 0.39062 0.00140 0.51661 2.02804 0.17919
6 0.98107 0.24444 0.06252 0.42847 NA 0.46900 1.22497 0.17793