search for: treemap

Displaying 19 results from an estimated 19 matches for "treemap".

2002 Nov 12
0
Treemaps
Has anyone implemented "treemaps" in R? A "treemap" is a visual display of a tree structure in which, at each level, the several nodes are represented by rectangles which fill the available area. The areas of the rectangles represent size, and their colors represent some other variable. There are several algorith...
2012 Aug 09
0
Treemap lost data
First: Im sorry for my bad english ;-) I use "portfolio" to create treemaps with "R". I've got a .csv dataset of all the schools in my city, containing 6 variables each with 1469 lines of data. When I create a treemap, 3 of these schools were not taken into account by "R". I dont know why. It doesn't matter where I put them in my dataset, the...
2007 May 09
1
voronoi.mosaic chokes?
...cates are translated around the edges of the plot (Toroidal edge correction). This is completed using the torus(...) function that I wrote myself. VMuncorrected is the voronoi mosaic that is not toroidally edge corrected VMcorrected is the voronoi mosaic that is toroidally edge corrected >treemap = read.table('af1.txt', sep = "\t", header = 1) >VMuncorrected = voronoi.mosaic(treemap$X, treemap$Y) ###Use the torus function to create 8 copies around the study region >toroid = torus(treemap$X, treemap$Y, 25, 25) >VMcorrected = voronoi.mosaic(toroid[,1], toroid[,...
2012 Apr 28
1
How to custom colorscale in treemap
...0(Green)-1(Red)-max(green). What's the easiest way to achieve this kind of divergent color scale? How shall I make my own palette and use it in the map.market or tree map function? Thank you very much~ -- View this message in context: http://r.789695.n4.nabble.com/How-to-custom-colorscale-in-treemap-tp4594161p4594161.html Sent from the R help mailing list archive at Nabble.com.
2012 May 07
0
R CMD check, interfacing c++ linking errors
...rintf("cluster map has been written to %s\n", file[0]); R_FlushConsole(); R_ProcessEvents(); return; // Return Nothing. } } extern "C" { void findConfCoreWrapper(SEXP gdiag, SEXP bootClusters, SEXP membership, SEXP conf) { multimap<double,treeNode,greater<double> > treeMap; multimap<double,treeNode,greater<double> >::iterator it_tM; int l =LENGTH(membership); //Rprintf("beleptunk"); int p = 0; map<int,int> degrees; for(int i=0;i < l;i++){ SEXP members = VECTOR_ELT(membership,i); //Rprintf("%d\n",Nmembers); SE...
2012 May 08
0
R CMD check, c++ source linking errors
...rintf("cluster map has been written to %s\n", file[0]); R_FlushConsole(); R_ProcessEvents(); return; // Return Nothing. } } extern "C" { void findConfCoreWrapper(SEXP gdiag, SEXP bootClusters, SEXP membership, SEXP conf) { multimap<double,treeNode,greater<double> > treeMap; multimap<double,treeNode,greater<double> >::iterator it_tM; int l =LENGTH(membership); //Rprintf("beleptunk"); int p = 0; map<int,int> degrees; for(int i=0;i < l;i++){ SEXP members = VECTOR_ELT(membership,i); //Rprintf("%d\n",Nmembers); SEX...
2012 May 08
1
R CMD check linking errors, when interfacing c++
...rintf("cluster map has been written to %s\n", file[0]); R_FlushConsole(); R_ProcessEvents(); return; // Return Nothing. } } extern "C" { void findConfCoreWrapper(SEXP gdiag, SEXP bootClusters, SEXP membership, SEXP conf) { multimap<double,treeNode,greater<double> > treeMap; multimap<double,treeNode,greater<double> >::iterator it_tM; int l =LENGTH(membership); //Rprintf("beleptunk"); int p = 0; map<int,int> degrees; for(int i=0;i < l;i++){ SEXP members = VECTOR_ELT(membership,i); //Rprintf("%d\n",Nmembers); SEX...
2010 Jan 13
1
Recommended visualization for hierarchical data
...---------------------------- NJ | Mercer | 550 CA | Orange | 23 .... I would like to visualize what states contribute the most to the overall total, and furthermore within those states, what Counties contribute the most. What are some recommended R visualizations for this type of data? I created a treemap using map.market from the portfolio library, like the following: http://zoonek2.free.fr/UNIX/48_R/g126.png Although this is an attractive visual, I want something that makes it easier to compare the relative sizes of components at a glance (hard with a treemap because rectangles have different as...
2008 Nov 25
2
Heat Maps
Dear List, Does there exist a function that produces a heat map like this one (image 3 of 4): http://www.tdameritrade.com/tradingtools/options360.html?a=HDY&referrer=http%3A%2F%2Fquery.nytimes.com%2Fsearch%2Fsitesearch%3Fquery%3Dheatmaptype%3Dnyt In addition to colors, two other main features I am intersted in are: 1. Proportionality in the size of the grid. 2. Mose-over capability. I may
2011 Jul 21
4
squared "pie chart" - is there such a thing?
Hello! It's a shoot in the dark, but I'll try. If one has a total of 100 (e.g., %), and three components of the total, e.g., mytotal=data.frame(x=50,y=30,z=20), - one could build a pie chart with 3 sectors representing x, y, and z according to their proportions in the total. I am wondering if it's possible to build something very similar, but not on a circle but in a square - such that
2016 Apr 22
2
Problem installing/loading packages from Africa
...So RStudio tells me that the packages are available to load, BUT: - when *loading* any package an error comes up saying package 'name of package' was built under R version 3.2.5 but info on swirl says it should work on any version of R above 3.0.2. I get similar errors for other packages (treemap, ggplot2, etc). - Or sometimes I"ll get this: Error : .onAttach failed in attachNamespace() for 'swirl', details: call: stri_c(..., sep = sep, collapse = collapse, ignore_null = TRUE) error: object 'C_stri_join' not found In addition: Warning message: package ?swirl? was built...
2003 Aug 20
2
RandomForest
Hello, When I plot or look at the error rate vector for a random forest (rf$err.rate) it looks like a descending function except for a few first points of the vector with error rates values lower(sometimes much lower) than the general level of error rates for a forest with such number of trees when the error rates stop descending. Does it mean that there is a tree(s) (that is built the first in
2016 Dec 27
0
Proper attribution in Authors@R for the d3.js library by Mike Bostock
...number of packages that use d3.js now, and the habit (standard?) now seems to be to put Bostock in Authors at R, but they do so in different ways. Here are a few examples: D3partitionR: Mike Bostock [aut, cph] (d3.js library in htmlwidgets/lib, http://d3js.org. The partitionChart, sunburst, the treemap, the zoomable circlePacking, the collapsible indented tree and the collapsible tree are all derived from his works.) scatterD3: Mike Bostock [aut, cph] (d3.js library, http://d3js.org) qrage: Michael Bostock [ctb, cph] (D3.js library) And there are others. ?person offers the following options...
2002 May 28
0
random Forests
...and T with class proportions of 0.44 and 0.56, respectively. In a call to the function randomForest() with mytry=1 and nodesize=1 and ntree=100 the resulting classifier puts all observations in class T. When I change nodesize to nodesize=5 I get the following error message: Error in array(rfout$treemap, dim = c(2, nrnodes, ntree)) : dim<- length of dims do not match the length of object Higher values of nodesize also result in this error message but values of nodesize less than 5 do not. I'm using R-1.5.0 on a Linux box and I installed the randomForest package during the week 13 May 200...
2010 Mar 05
0
REvolutions blog: February Roundup
...http://bit.ly/bZ6dLI linked to a story about creating a cluster in Amazon EC2 for parallel computations with the multicore package. http://bit.ly/bvkiQ2 gave some examples of creating pretty HTML and LaTeX tables with the xtable package. http://bit.ly/9M508I showed how to create a mosaic plot (or treemap) in R. http://bit.ly/coPTj9 noted media attention for the R Project, named as 2010 Editor's Choice at Intelligent Enterprise. http://bit.ly/aK7PAU linked to Dirk Eddelbuettel's presentation about the Rcpp interface for C++ code in R. http://bit.ly/bzPaII linked to some useful tips on spe...
2015 May 06
2
[LLVMdev] LCOV per commit
Le 06/05/2015 21:05, Renato Golin a écrit : > On 6 May 2015 at 19:15, Sanjoy Das <sanjoy at playingwithpointers.com> wrote: >> I could not easily locate this on http://llvm.org/reports/coverage/ so >> asking here: what workload is the coverage computed over? IOW, what >> all does the bot run to get this coverage information? > Nothing is clear in that page. No
2012 Dec 13
3
Combined Marimekko/heatmap
Hi all, I'm trying to figure out a way to create a data graphic that I haven't ever seen an example of before, but hopefully there's an R package out there for it. The idea is to essentially create a heatmap, but to allow each column and/or row to be a different width, rather than having uniform column and row height. This is sort of like a Marimekko chart in appearance, except that
2003 Apr 12
5
rpart vs. randomForest
Greetings. I'm trying to determine whether to use rpart or randomForest for a classification tree. Has anybody tested efficacy formally? I've run both and the confusion matrix for rf beats rpart. I've looking at the rf help page and am unable to figure out how to extract the tree. But more than that I'm looking for a more comprehensive user's guide for randomForest including
2012 Mar 11
1
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * EffectStars (1.0) Maintainer: Unknown Author(s): Gunther Schauberger License: GPL-2 http://crantastic.org/packages/EffectStars The package provides functions to visualize regression models with categorical response. The effects of the covariates are plotted with star plots in order to allow for an optical