summarytrees_htmlwidget
2016-06-20 17:14
411 查看
I feel obligated to mention this again. If you want to get a preview of the exciting changes for
86. Thanks to Joe Cheng from RStudio for taking the lead on this.
We can see some early examples with
Clark @pssguy.
Kenneth Shirley and Howard Karloff authored an interesting paper.
(2013). Howard Karloff and Kenneth E. Shirley. “Maximum Entropy Summary Trees”, Computer Graphics Forum (Proc. EuroVis), Volume 32, Issue 3, Part 1, pp. 71-80.
Subsequently, Kenny made an
create and visualize these summary trees. I learned about the R/d3.js combination after Kenny’s presentation
at JSM 2015. Similar to the
I thought
This is a work in progress. Please offer feedback and ideas on this Github issue.
This is not on CRAN and only exists in a
Thanks Kenneth Shirley for the research and implementation of
As always, thanks to
htmlwidgets, be sure to check out
htmlwidgetsissue
86. Thanks to Joe Cheng from RStudio for taking the lead on this.
We can see some early examples with
plotlyfrom early adopter Andrew
Clark @pssguy.
This Week’s Widget - summarytrees_htmlwidget
Kenneth Shirley and Howard Karloff authored an interesting paper.(2013). Howard Karloff and Kenneth E. Shirley. “Maximum Entropy Summary Trees”, Computer Graphics Forum (Proc. EuroVis), Volume 32, Issue 3, Part 1, pp. 71-80.
Subsequently, Kenny made an
Rpackage
summarytreesto
create and visualize these summary trees. I learned about the R/d3.js combination after Kenny’s presentation
at JSM 2015. Similar to the
htmlwidgetconversions of
stmBrowserand
stmCorrViz,
I thought
summarytreeswould also be a great candidate for an
htmlwidget.
This is a work in progress. Please offer feedback and ideas on this Github issue.
Installation
This is not on CRAN and only exists in a summarytreesfork, so to install we will need some help from
devtools::install_github.
devtools::install_github("timelyportfolio/summarytrees@htmlwidget")
Examples
# devtools::install_github("timelyportfolio/summarytrees@htmlwidget") library(summarytrees) data(dmoz) #use example from vignette K <- 100 g <- greedy(node = dmoz[, "node"], parent = dmoz[, "parent"], weight = dmoz[, "weight"], label = dmoz[, "label"], K = K) # Prepare the summary trees for visualization: json <- prepare.vis(tree.list = g$summary.trees, labels = g$data[, "label"], tree = g$tree, legend.width = 150, node.width = 225, node.height = 14, units = "# of URLs", print.weights = TRUE, legend.color = "lightsteelblue", color.level = 3) summarytrees_htmlwidget(json)
## [1] "Running order.nodes() function to prepare data" ## [1] " Computing node levels" ## [1] " Computing child indices for each parent" ## [1] "Running C function to compute summary trees" ## [1] "Computation finished; now formatting output"
Thanks
Thanks Kenneth Shirley for the research and implementation of summarytrees.
As always, thanks to
相关文章推荐
- html input file onchange事件失灵的解决方法
- DHTML技术
- DHTML:<input type="file">
- HTML语言学习(一)
- 获取class列表属性方法
- DHTML:<select>
- 3-3innerHTML 属性
- HTML下使元素在父元素内绝对定位
- DHTML技术演示---selcet的使用(级联技术)
- XSLT实现XML文档转换成HTML文档
- html手型按钮添加
- 欢迎使用CSDN-markdown编辑器
- .NET Core HtmlAgilityPack HTML解析利器
- <!DOCTYPE html>重要么?
- HTML语法大全_html语言语法大全(必看)
- swiper的基础使用(四)
- html——label
- Word2Html(doc docx)
- 使用fiddler将制作的html网页放到api.bing.com域名下
- HTML 音频