Displaying 20 results from an estimated 3000 matches similar to: "3d bar plot"
2005 Oct 26
1
hclust leaf color
Hello everyone,
I wanted to know if it was possible to change the color of certain leaves in a
hclust object in order to make my graph more readable. I know I can color
certain groups but I would like to enter a vector telling the plot function
which leaves to color in which color.
Thanks in advance,
William.
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:
2008 Nov 22
1
How to draw following plot in R?
I want to draw following plot, given here
http://www.2shared.com/file/4327128/830b82c4/pic.html
for the following data :
dat <- cbind(rnorm(100), sample(c(1:4), 1000, T))
colnames(dat) <- c("data","level")
Here x-axis should be on "data" and y-axis is for "level" and z-axis should
be to display the frequency of "data" for a particular
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.
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
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 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
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
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 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
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>
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 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
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
2006 Sep 06
4
histogram in the background?
I intend to draw a plot of y against x. In the background of this graph I
wish to creat a histogram of the horizontal variable x. Does any expert know
how to produce such a plot?
[[alternative HTML version deleted]]
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$")
2007 Nov 02
2
add histograms or distributions on regression line
hello, does anyone know how to add histograms or distributions
on regression like just like quantiles regression in RGraphGallery
below, a very
delicate codes. Thanks alot.
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=109
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>