similar to: densCols: what are the computed densities and how to create a legend

Displaying 20 results from an estimated 300 matches similar to: "densCols: what are the computed densities and how to create a legend"

2013 Mar 28
1
scatterplot3d with densCols ?
Hi, I was trying to make a 3D plot using densCols. The documentation for densCols doesn't look like it'll work for 3D. For example: ----------------------------------------- library(scatterplot3d) v1 <- rnorm(10000) v2 <- rnorm(10000) v3 <- rnorm(10000) ## 2D with denscols mat1 <- cbind(v1,v2) mcols1 <- densCols(mat1) plot(mat1,col=mcols1) mat <- cbind(v1,v2,v3)
2008 Mar 14
1
smoothScatter
Hi, I have been trying to plot density plots using the example on: http://addictedtor.free.fr/graphiques/graphcode.php?graph=139 I used to use this function, but I cannot get any old code or even the example to work. library("geneplotter") require("RColorBrewer") x1 <- matrix(rnorm(1e4), ncol=2) x2 <- matrix(rnorm(1e4, mean=3, sd=1.5), ncol=2) x <-
2012 Oct 02
5
smoothScatter plot
Hi, I want to make a plot similar to sm1 (attached). The code I tried is: dcols <- densCols(x,y) smoothScatter(x,y, col = dcols, pch=20,xlab="A",ylab="B") abline(h=0, col="red") But it turned out to be s1 (attached) with big dots. I was wondering if anything wrong with my code. Thanks,Zhengyu -------------- next part -------------- A non-text
2005 Apr 28
1
strange behaviour of importFrom directive in name space
Dear listers, After activating the name space for my bioconductor package (prada) I successfully ran R CMD check. However when loading the package in R and running the examples the imported function brewer.pal from package RColorBrewer is not found. I can directly call brewer.pal from the RColorBrewer name space typing RColorBrewer::brewer.pal, but it is not imported into my prada name space. When
2005 Apr 28
1
strange behaviour of importFrom directive in name space
Dear listers, After activating the name space for my bioconductor package (prada) I successfully ran R CMD check. However when loading the package in R and running the examples the imported function brewer.pal from package RColorBrewer is not found. I can directly call brewer.pal from the RColorBrewer name space typing RColorBrewer::brewer.pal, but it is not imported into my prada name space. When
2009 Aug 14
1
extract data from shapefiles
I'm hoping that someone could guide me in how to extract data from shapefiles. I want to extract data from a shapefile (classed as "SpatialPolygonsDataFrame") and more specifically, the data is contained within the slot called "coords" from the class "polygons" within this file and despite my best efforts (and much reading!), I'm at a lost. Many thanks, Kate
2010 Feb 06
1
Why does smoothScatter clip when xlim and ylim increased?
Hi: Is there a way to get smoothScatter to not clip when I increase the xlim and ylim parameters? Consider the following example: set.seed(17) x1<-rnorm(100) x2<-rnorm(100) smoothScatter(x1,x2) #Now if I increase xlim and ylim notice that the plot seems to be clipped at the former xlim, and ylim boundaries: smoothScatter(x1,x2, xlim=c(-5,5), ylim=c(-5,5)) Thanks. Jen sessionInfo() R
2009 Apr 22
1
reversing xlim, ylim in smoothScatter
Hello, I have found that in smoothScatter it is not possible to reverse the axes plotted (R version 2.9.0) .   It appears that this arises from the hard coding of xlim and ylim in smoothscatter.R in the lines : x <- x[ xlim[1] <= x[,1] & x[,1] <=xlim[2], ]   (line  number 25) and x <- x[ ylim[1] <= x[,2] & x[,2] <= ylim[2], ]  (line number 31) This results in a x
2010 Oct 15
0
packers and movers
Aggarwal movers proivide best services in packers and movers like packers and movers Delhi, packers and movers Noida, packers and movers Hyderbad, packers and movers Ahemadabad and many more place. http://www.aggarwalmovers.com/ -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post
2008 Nov 16
1
Need help in calling C code from R
Hi I would like to implement the "Earth Movers Distance" into R and found the code in C on the following page: http://www.cs.duke.edu/~tomasi/software/emd.htm Unfortunately, I don't know much (nearly nothing) about C and how to call it from R. As far as I have seen, the calling of the code from R should be rather straight forward, but there are still several things I don't
2013 Jun 04
1
High volume plot using log(local density)
Hi, I am using the densCols to draw a high volume scatter plot. Instead of using the default local density, I would like to take log of the local density and then map them to the colors. I could not figure out how to do that. For example: plot(x,y,col=densCols(x,y,"log")) ? Any help would be appreciated! Jiaxiu [[alternative HTML version deleted]]
2010 Jun 30
3
Factor Loadings in Vegan's PCA
Hi all, I am using the vegan package to run a prcincipal components analysis on forest structural variables (tree density, basal area, average height, regeneration density) in R. However, I could not find out how to extract factor loadings (correlations of each variable with each pca axis), as is straightforwar in princomp. Do anyone know how to do that? Moreover, do anyone knows
2010 Oct 11
2
compare histograms
Hello How to compare  two statistical histograms? How i can know if these histograms are equivalent or not??   Regards [[alternative HTML version deleted]]
2006 Jan 27
17
Is it just me, or is Ruby exploding?
I am being barraged with Ruby, Rails and Rich Internet application work right now. Almost enough that I could quit the day job and make a go of it, forgetting about Java altogether. Places in the greater Miami area are turning on to Rails and Ruby -- much of it fueled by the stronger voices in the local Java community. Am I alone in this, or do many of you see absolutely explosive growth in Ruby,
2001 Jul 16
0
BSDCon 2002 - Call for Papers
BSDCon 2002 February 11-14, 2002 Cathedral Hill Hotel San Francisco, CA. USA http://www.usenix.org/events/bsdcon02/ The premier conference for the BSD community! The Berkeley Software Distributions (BSDs) represent one of the oldest and most vigorous streams of Open Source Development. Together, OpenBSD, FreeBSD, NetBSD, Darwin, and BSD/OS represent millions of servers and desktops. The BSDs
2012 Feb 08
0
new dtrace-discuss list, and dtrace.conf 2012
For those who may have missed the news, the DTrace movers and shakers have moved over to a new mailing list; you can sign up at http://dtrace.org/blogs/mailing-list/ And there will be a conference dedicated to DTrace on April 3rd in San Francisco, more information here: http://wiki.smartos.org/display/DOC/dtrace.conf -- best regards, Deirdr? Straughan SmartOS Community Manager Joyent cell
2010 Dec 20
5
Hello
Im currently making a game called Risen to work . The only problem ive got its that the mouse doesnt work wothouth a patch . But with this http://bugs.winehq.org/attachment.cgi?id=27496&action=edit patch it works but when i stop the mouse it just keeps spinning , can someone help me get this patch to work with the newest (1.3.9 ) wine and get the patch work better ? Or is it a better
2011 Jan 26
1
return object from loop inside a function
Hi All, I have a for loop inside the function and I cannot get UUU to give me an updated grid.dens object when I run the function (it does update when I run just the for loop). Here's a simplified version of my function: UUU=function(pop, grid.dens) { for (i in 1:10){ Food=grid.dens[pop$yloc[i],pop$xloc[i]] #use initial grid.dens values Consumed=(pop$weight[i]*0.25) Left=Food-Consumed
2006 May 16
0
reordering materix presentation in heatmap.2 in the 'gplots' library
Dear R users, I'm trying to create images of 2 symmetrical matrices using heatmap.2 of the 'gplots' library. Both matrices have the same row and column names For the first matrix I'm using the default clustering and column denrogram options: heatmap.2(Matrix1, symm=T, breaks=20, col=rich.colors(19), main="matrix1", density.info="histogram",
2015 Feb 18
0
smoothScatter() and the KernSmooth package
Dear R-devel, my Bioconductor EDASeq package has a function MDPlot that uses the smoothScatter() function from the graphics package. When I test this package on travis-ci.org (R CMD check) I get the following error (which I don't get on my machine nor on the Bioconductor build system). * checking examples ... ERROR Running examples in ?EDASeq-Ex.R? failed The error most likely occurred in: