Displaying 20 results from an estimated 3000 matches similar to: "hclust leaf color"
2006 Feb 13
2
Plotting contour & filled.contour in one graph
Dear All,
I have a question on overlaying a filled.contour (e.g. on soil properties data) and contour (by elevation) in one graph. Both have the same z matrix dimension. I'm able to overlay both graph, but the plots dimension did not overlap well on the same plots. How can I have both filled.contour and contour on the same graph? The commands that I have written are as follows:
2005 Dec 16
2
dendrogram branches with different lty
Dear r-list,
I am trying to visually seperate the two main clusters of a dendrogram.
The idea is to use:
'edgePar=list(lty=3)' for 'dend1[[1]]' and
'edgePar=list(lty=1)' for 'dend1[[2]]'
I have not found a way to solve this. Any suggestions?
Patrick
hc <- hclust(dist(USArrests), "ave")
(dend1 <- as.dendrogram(hc))
par(mfrow=c(2,2))
plot(dend1)
2005 Oct 28
2
3d bar plot
Hi,
does anyone has a bar plot function that produces something
like this (I hope attachments work) ?
If not, I simply want to produce 3d bar plots.
Thanks in advance,
Jan
2005 Dec 13
4
Ploting graphics using X tints from a color
Hi,
I'm trying to draw a 2D plot using multiple tints of red. The
(simplified) setup is the following: || year | x | y ||
My idea is that each year is plotted with a different tint of red.
Older year (lightest) -> Later year (darkest). I've managed to plot
this with different scales of grays simply by doing:
palette(gray(length(years):0/length(years)))
before the plot and for each
2006 Apr 25
10
www.r-project.org
Dear R users and developpers,
My question is adressed to both of you, so I choose R-help to post it.
Are there any plans to jazz up the main R website : http://www.r-project.org
The look it have now is the same for a long time and kind of sad
compared to other statistical package's website. Of course, the
comparison is not fair, since companies are paying web designers to draw
lollipop
2005 Dec 13
8
superimpose density line over hist
Hi all,
I'm trying to superimpose a rchisq density line over a histogram with
something like:
hist(alnlength)
lines(density(rchisq(length(alnlength), 4)),col="red")
But the rchisq line won't appear anywhere,
Anyone knows what I am missing here?
Thanks in advance,
Albert.
2012 Aug 16
2
question about A2R
Dear List
I'm trying to install a package not present in cran named A2R (
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=79)
After running the demo script I retrieve the following error:
cannot change value of locked binding for '._a2r_counter'
Please could someone give to me a tip about my error?
Thank you very much
Here is my sessionInfo()
R version 2.15.0
2005 Oct 26
3
Storing graphics output in PNG format.
Dear All,
How can I store hist() or any plot output graphics in
PNG format? I tried with bitmap() but not getting the
result. Appreciate your help on fixing this.
Thanks in Advance.
Regrads,
Ezhil
2005 Oct 26
2
horizontal violin plots?
I am trying to make horizontal violin plots. I have tried both vioplot
and simple.violinplot, but both of them seem to not be willing to take
the horizontal option. Is this correct, or am I just bungling it
somehow?
For instance, for vioplot (from the example shown, with the horizontal
modification):
> vioplot(bimodal,uniform,normal, horizontal=TRUE)
Error in median(data) : need numeric data
2005 Apr 18
5
the graph gallery strikes back
Hello useRs and helpRs,
Some time ago, in a gallaxy far away (here is the thread :
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/46532.html ) we
discussed about a graph gallery showing the power of R in that domain. I
did some work around that, and there is a (pretty advanced) draft here :
http://addictedtor.free.fr/graphiques/displayGallery.php
For instance, there are some of my graphs,
2006 Apr 13
1
bash-like history mechanism and prompt settings
Hi,
I have a couple of questions:
* would it be possible to add more information on the history, for
example the number of the command and a timestamp. With the number of
command, one could do some stuff like in a terminal to recall a specific
command :
$ !45
and with the timestamp, one could imagine to ask for commands that were
typed in a given interval of time. For example :
R>
2005 Dec 13
2
How to make a plot?
Does anyone have an idea of how to make a chart in R like the
ones here that use a graphic:
http://bigpicture.typepad.com/comments/images/slide1.gif
2005 Dec 08
2
Commented version of the home page graphics code
Folks,
I was drawn to R, like many others, partly for the opportunity
to draw nice, colorful graphs (occasionally ones with meaning, too :-)
). I am still quite a newbie to R.
As such, I have been trying to understand the code for the graphics on
the home page (the ones from the 2004 contest -- the dendrogram, the
cluster plot with different coloured circles, etc.) I was wondering
whether anyone
2006 Jan 12
3
hello World problem
Hi,
I'm trying to build a simple R package 'helloWorld' with just one
function that prints 'hello World' on the C side.
I agree that it is completely useless, but I just start mixing R and C.
My C file is as follows :
#include <stdio.h>
void helloWorld() {
printf("hello world !\n") ;
}
When I call it from R, here is what happens :
R>
2010 Feb 19
3
plot circular histogram
In conducting studies of animal orientation and displacement, I need to
produce circular histograms of angles (bearings in radians 0-2pi) where the
centre of the circle indicates very few observations for a given bin of
angles and outwardly concentric circles indicate greater frequencies of
observations for a given bin of angles. I'd like not to have to write the
function myself but I
2006 Mar 04
2
R does not have friendly GUI (PR#8656)
Full_Name:
Version: 2.1.1
OS: Linux (Ubuntu 5.10)
Submission from: (NULL) (136.160.174.71)
R does not have a friendly gui from where all functions can be accessed by
"point-and-click". Existing one I could try (tk) is too simple.
The friendly gui should also include a spreadsheet-like data-viewer as well as a
data-output (exportable tables) and a graphics-output modules (the latter
2006 Mar 08
3
'less' for R?
Hi All,
is there an equivalent of the Unix command 'less' (or 'more'), so I can
look at what's inside a data.frame or a matrix without having it printed
out on console?
I am using R on Debian Linux and Mac OS 10.4.5
Cheers,
F
--
Federico C. F. Calboli
Department of Epidemiology and Public Health
Imperial College, St Mary's Campus
Norfolk Place, London W2 1PG
Tel +44
2006 Feb 06
5
lme4: Error in getResponseFormula(form) : "Form" must be a two sided formula
I'm sure I'm being stupid so flame away...
R2.2.1 on Windoze (boohoo) latest updates of packages.
I'm exploring a dataset (land) with three variables looking at an
narrowly unbalanced two group (GROUP) ANCOVA of a randomised
controlled trial analysing endpoint score (SFQ.LOCF.ENDPOINT) entering
the baseline score (SFQ.BASELINE) as covariate and the following work
fine:
> res.same
2006 Feb 28
3
LaTeX in R graph
Hello,
I would like to know if it is possible to insert LaTeX typesetting in R output.
I want to obtain a graph with LaTeX label in order to incorporate it as
postscript or pdf,
x<-seq(0,1,length=100)
y<-x*x
plot(x,y,xlab="$X$",ylab="$X^2$")
2010 Sep 16
3
Help with customizing a histogram figure
Hi all,
Please consider the following code:
require(plotrix)
l <- list(rnorm(50),rnorm(50,sd=2),rnorm(50,mean=3))
multhist(l)
I have two things I need help with:
(1) In the output, there are empty spaces on the x-axis. How would I eliminate
these spaces? I want a nice, smooth, empty-spaceless x-axis.
(2) How could I add tracing lines to each histogram? I am undoubtedly using the
wrong