Mik*_*nce 7 plot visualization r
我有一个决策树表示为R中的列表:
tree = list(
"Bin type" = list(
"no bin" = list(
"SOA linearity" = list(
"linear" = list("Linear MEM")
, "non-linear" = list("GAMM")
)
)
, "bin" = list(
"SOA type" = list(
"SOA as categorical" = list(
"Tool" = list(
"ANOVA"
, "MEM"
)
)
, "SOA as continuous" = list(
"SOA linearity" = list(
"linear" = list(
"Tool" = list(
"ANOVA"
, "MEM"
)
)
, "non-linear" = list("GAMM")
)
)
)
)
)
)
Run Code Online (Sandbox Code Playgroud)
有没有一种快速的方法可以将其可视化为树形图?