tag:blogger.com,1999:blog-36784551.post3172074441084111891..comments2024-03-28T10:20:36.557+00:00Comments on Christopher Gandrud <br> (간드루드 크리스토파): Quick and Simple D3 Network Graphs from RUnknownnoreply@blogger.comBlogger6125tag:blogger.com,1999:blog-36784551.post-6649363253253304812024-02-27T11:45:36.689+00:002024-02-27T11:45:36.689+00:00Reecoupons is your one-stop destination for all yo...Reecoupons is your one-stop destination for all your essentials, with the perk of an additional discount. We offer coupon codes so you can enjoy your shopping without worrying about the cost. At Reecoupons, you can find all your favorites and using promo codes, you can avail huge discounts on them. From clothing and accessories to tech and gadgets, you can find everything. Shop your clothing favorites from <a href="https://www.reecoupons.com/view/annie-cloth" rel="nofollow">Annie Cloth Coupons</a>.<br />Olivia Erinhttps://www.blogger.com/profile/02417983989130214108noreply@blogger.comtag:blogger.com,1999:blog-36784551.post-75755704406541990492013-06-15T18:04:12.911+01:002013-06-15T18:04:12.911+01:00I have posted an example at the end of this blog p...I have posted an example at the end of <a href="http://politbistro.hypotheses.org/1782" rel="nofollow">this blog post</a>, which shows another plot function for networks, using ggplot2.Fr.https://www.blogger.com/profile/13152253297672195767noreply@blogger.comtag:blogger.com,1999:blog-36784551.post-42858142066020364252013-06-13T02:23:46.506+01:002013-06-13T02:23:46.506+01:00@G$ Really nice!
If your interested, take a look ...@G$ Really nice!<br /><br />If your interested, take a look at the new package version of d3Network. It allows you to change things like the font size and link distances: <a href="http://christophergandrud.github.io/d3Network/" rel="nofollow">http://christophergandrud.github.io/d3Network/</a>Anonymoushttps://www.blogger.com/profile/17687826553734188008noreply@blogger.comtag:blogger.com,1999:blog-36784551.post-2100408694383804502013-06-13T00:14:36.462+01:002013-06-13T00:14:36.462+01:00This is pretty cool. I took my package dependencie...This is pretty cool. I took my package dependencies and piped it to the d3 network graph so I could see what the dependency graph looks like. Interesting to see how the packages build on each other<br /><br />http://dl.dropboxusercontent.com/u/20404495/myPackages.html<br /><br />library(tools)<br />library(foreach)<br />library(iterators)<br />library(rCharts)<br />library(slidify)<br />library(slidifyLibraries)<br />library(doParallel)<br /><br />package <- grep("^package:", search(), value = TRUE)<br />keep <- sapply(package, function(x) x == "package:base" || <br /> !is.null(attr(as.environment(x), "path")))<br />package <- sub("^package:", "", package[keep])<br /><br />x = foreach(p=iter(package)) %do% {dependsOnPkgs(p, recursive=FALSE)}<br />names(x) = package<br /><br /># parse them into Source and Targets<br />Source = foreach(i=1:length(x), .combine='c') %do% {rep(names(x[i]),length(x[[i]]))}<br />Target = (foreach(i=1:length(x), .combine='c') %do%{x[[i]]})<br />NetworkData <- data.frame(Source, Target)<br /><br /># Load packages to download d3SimpleNetwork<br />library(digest)<br />library(devtools)<br /><br /># Download d3SimpleNetwork<br />source_gist("5734624")<br />d3SimpleNetwork(NetworkData, height = 800, width = 1280, file='myPackages.html')G$https://www.blogger.com/profile/01349972242888715865noreply@blogger.comtag:blogger.com,1999:blog-36784551.post-73998140902179581842013-06-11T04:04:54.984+01:002013-06-11T04:04:54.984+01:00Great to hear you liked it.
I'm thinking of ...Great to hear you liked it. <br /><br />I'm thinking of adding a small tweak that allows you to change the node spacing.Anonymoushttps://www.blogger.com/profile/17687826553734188008noreply@blogger.comtag:blogger.com,1999:blog-36784551.post-75254080280451359622013-06-11T03:30:09.733+01:002013-06-11T03:30:09.733+01:00It works, and is very pretty!
I saved the output ...It works, and is very pretty!<br /><br />I saved the output to an html file, and it displayed with Firefox. I like how it spaces out the nodes. Next, I am going to try it on a more complicated graph.nxskokhttps://www.blogger.com/profile/07597472423849376973noreply@blogger.com