Displaying 7 results from an estimated 7 matches for "ylorrd".
Did you mean:
lord
2010 Jul 08
1
Brewer.pal error
...ty. I have
returned to make a phd...I´m fortunatelly I´m working so unfortunatelly I
have few time to study (I have also a baby with 16 months).
I´m trying to use R but sometimes it gets very difficult.
I´m trying to put this code in my polygon function
colramp=colorRampPalette(brewer.pal(9,"YlOrRd")
to use brever.pal I have installed this lybrary
library(“RColorBrewer”)
but when I try to run it appears this message:
Error in col2rgb(colors) : cannot find function "brewer.pal"
If you want I can attach the zip I use.
Can anyone please guide me how to make this run?
MAny t...
2008 Mar 14
1
smoothScatter
...ol=2)
x2 <- matrix(rnorm(1e4, mean=3, sd=1.5), ncol=2)
x <- rbind(x1,x2)
layout(matrix(1:4, ncol=2, byrow=TRUE))
op <- par(mar=rep(2,4))
smoothScatter(x, nrpoints=0)
smoothScatter(x)
smoothScatter(x, nrpoints=Inf,
colramp=colorRampPalette(brewer.pal(9,"YlOrRd")),
bandwidth=40)
colors <- densCols(x)
plot(x, col=colors, pch=20)
par(op)
But I can't even get the example to work. I have installed geneplotter and RColorBrewer, but I get the messages "
Error: could not find function "smoothScatter"
Error: could...
2010 Sep 08
1
saving heatmaps in graphical format that can be edited in graphic editor tool
...quot;)
> library("RSvgDevice")
> jpeg("Heatmap.jpg", height=6+2/3, width=6+2/3, units="in", res=1200)
> heatmap.2(mydatamatrix, Rowv=as.dendrogram(hr), Colv=as.dendrogram(hc),
> dendrogram="both",
scale="row", col=brewer.pal(3, "YlOrRd"), cexRow=0.01, cexCol=0.01,
trace="none", density.info="none",
key=TRUE, keysize=1.5, margin=c(5,8),RowSideColor=mycolhr,
ColSideColor=mycolhc)
> dev.off()
I would like to save the file in a graphical format that can be edited later
in any image editing program (l...
2010 Sep 08
2
saving heatmaps in graphical format that can be edited in graphic editor tools
...t;gplots")
> library("RSvgDevice")
> jpeg("Heatmap.jpg", height=6+2/3, width=6+2/3, units="in", res=1200)
> heatmap.2(mydatamatrix, Rowv=as.dendrogram(hr), Colv=as.dendrogram(hc),
dendrogram="both", scale="row", col=brewer.pal(3, "YlOrRd"), cexRow=0.01,
cexCol=0.01,
trace="none", density.info="none", key=TRUE, keysize=1.5,
margin=c(5,8),RowSideColor=mycolhr, ColSideColor=mycolhc)
> dev.off()
I would like to save the file in a graphical format that can be edited later
in any image editing program (l...
2012 Oct 10
0
Resumen de R-help-es, Vol 44, Envío 9
...s=TRUE)
# plotea cartografia con pcias con MANI
spplot(cartografia,c("datos_manies.MANI"),col.regions=brewer.pal(9,
"BuGn"), scales=list(draw = TRUE))
# otro plot con escala de varios colores
spplot(cartografia, "datos_manies.MANI", col.regions=brewer.pal(9,
"YlOrRd"), scales=list(draw = TRUE),
main=list(label="Manies en Corrientes"))
# creacion e impresion de imagen JPEG
jpeg("Manies_Corr.jpeg", width=630, height=630,bg="white")
par <- list(axis.line=list(col="transparent"),
clip=list(pan...
2020 Oct 02
1
What is the threshold for `useRaster` of graphics::image()?
Hi R-help list
What is the threshold for the `useRaster` argument of graphics::image()
to decide whether a grid is "regular" or not (i.e. the usage of
useRaster=T is allowed or not). My
`dev.capabilities("rasterImage")$rasterImage` is "yes".
I could not find this information in the internet. I also could not find
the source code of the graphics::image() function (I
2005 Jul 07
2
Brewer colours
...52,197,192,
250,159,181,
247,104,161,
221,52,151,
174,1,126,
122,1,119,
73,0,106),
dim = c(3, 10))
brewerSequential.PuRd <- array(data = c(
255,255,255,
247,244,249,
231,225,239,
212,185,218,
201,148,199,
223,101,176,
231,41,138,
206,18,86,
152,0,67,
103,0,31),
dim = c(3, 10))
brewerSequential.YlOrRd <- array(data = c(
255,255,255,
255,255,204,
255,237,160,
254,217,118,
254,178,76,
253,141,60,
252,78,42,
227,26,28,
189,0,38,
128,0,38),
dim = c(3, 10))
brewerSequential.YlOrBr <- array(data = c(
255,255,255,
255,255,229,
255,247,188,
254,227,145,
254,196,79,
254,153,41,
236,112,20,
204,76,...