Displaying 20 results from an estimated 3000 matches similar to: "the graph gallery strikes back"
2005 Feb 18
3
Hosting a R Graph Gallery?
Dear R users,
Following some of the recent questions and discussions about the R
plotting abilities, it occurred to me again that it would be very
valuable to have an R graph gallery.
Eric Lecoutre made a very nice example in:
http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/stats/fichiers/_gallery.pdf
It would be very useful to many beginners, but probably also advanced
users of R, to have an
2005 Aug 02
3
how to print a data.frame without row.names
Dear All,
is there a simple way to print a data.frame without its row.names?
example:
datum <- as.Date(c("2004-01-01", "2004-01-06", "2004-04-12"))
content <- c('Neujahr', 'Hl 3 K.', 'Ostern')
df1 <- data.frame(datum, content)
print(df1)
datum content
1 2004-01-01 Neujahr
2 2004-01-06 Hl 3 K.
3 2004-04-12 Ostern
Can I get
2005 Oct 19
6
forrest plot
Hi,
can you tel me how can I make a Forrest Plot with R?
It is possible and easy or are there a more practical free software available?
Than you
Mic
[[alternative HTML version deleted]]
2005 Apr 23
3
How to know in which package is a function
Hello list,
I'd like to know if there is a function that tells in which package is a
given function.
Something like :
which.package("lda")
[1] "MASS"
Thank you.
Romain
--
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
~~~~~~ Romain FRANCOIS - http://addictedtor.free.fr ~~~~~~
~~~~ Etudiant ISUP - CS3 - Industrie et
2005 Jun 13
3
assignment of inidividual variables from spss save files
New to R, can't afford SPSS!
Why can't I assign spss variables? Here are the details.
> ### I've read in my collaborator's sav file using read.spss, eg
> children = read.spss(filename)
> ### It has many variables
> length(children)
[1] 347
> ### and I would like to assign individual variables.
> ### I can of course type out all the ones I want, eg
>
2005 May 19
2
ARIMA estimation
Good morning,
(sorry for my english)
i have some problems to put off by extimation ARIMA coefficients
the ones not significatives.
Exist a method to extimate only that significatives?
i use the command: arima().
thanks to all
Stefano
[[alternative HTML version deleted]]
2005 Aug 05
1
use of color for hclust
Hi,
I have a grouping of some observations. I want to cluster them using
hierarchical clustering and compare how the hierarchical clustering shows up
vis-a-vis the groupings. Is it possible to do this in color? I guess what I am
looking for is a way to color the labels of a hierarchical clustering plot
using different colors according to the original grouping. Any suggestions?
Many thanks and
2005 Sep 15
2
about cutree
Hi Everyone,
I'm trying to use cutree to get the clusters after hclust. What I used is: mycluster<-cutree(cnclust,h=0.5)
Now, my problem is, how can I get the actual clusters? Thanks!
Best,
Baoqiang Cao
2005 May 20
2
Plot Problem
Hi folks,
I try to plot a variable which contains string-variables. it works, but the
problem is that there are a lot of values at the x axis (up to 24)
SO i have to scale or rotate the label at the x axis.
I tried this with the text() function. It doesn't work correctly.
Is there a simple way to rotate the labels?
Best regards,
Sebastian
2005 May 25
3
DOING CLUSTERING WITH THE EM ALGORITHM
Hello,
I am looking for documentation (PDF ?) about doing clustering with the EM Algorithm on R... I'm sorry for this question which may be trivial...
Thanks...
Dominique
2005 Jun 09
1
color on barplot
Hello,
On my barplot, I have on the axis y, the names of the rows of my matrix r_mat!
is it possible to change the color of these names on my barplot?
barplot2(t(r_mat),beside=TRUE,horiz=TRUE,plot.grid=TRUE,xlab="R",font.lab=4,las=2,xlim=c(0,1))
thanks,
Sabine
---------------------------------
[[alternative HTML version deleted]]
2005 Jun 15
1
Graph with values of coordinates of points in x axis
Hi all,
I want to draw a line with the values of x marked in X axis.
I tried with
x <- c(0,6,12,18,24,30) #coordinates of points x
y <- c(2,5,7,5,7,16) #coordinates of points y
plot(x,type="n",xlab="Months",ylab="Y
values",main="main",ylim=c(0,16),xlim=c(0,30))
lines(x,y)
The graph shows by default an increment of the sequence in x axis that
2005 Aug 03
2
R: histograms and ylim
hi all
a very simple question once again!!!
can we change the "y" range in a histogram?
e.g.
x=rnorm(1000)
hist(x,ylim=0.5,prob=T) #this does not work
any suggestions???
2005 Aug 18
2
how to draw an ellipse
That's probably a stupid question, but I'm looking for a low-level
command which plots ellipse, specifying only center and deformation
axes. The purpose is to illustrate bivariates gaussians with 2D .95
confident levels without using any specific library.
Thanxs for your help,
Guillaume
2005 Sep 21
3
Sort a data frame with respect to more than one variable
Dear All,
How can I sort a data frame with respect to more than one variable?
I know that for one variable X one may use: df[order(df$X), ] where df is the data frame containing X.
Many thanks,
Bernard
---------------------------------
[[alternative HTML version deleted]]
2005 Aug 03
3
red-black-green color palette?
I'm working on some heatmaps, and the person I'm working with would
prefer a red-black-green color palette (red denoting gene induction and
green denoting gene repression). Does such a palette exist already?
If not, is there an easy way to create one?
Thanks,
Jake
2005 Sep 25
4
hist(x, ...) with normal distribution curve
.
I am looking for a histogram or box plot with the adding normal
distribution curve
I think that must be possible, but I am not able to find out how to do.
Regards Knut
2005 May 25
2
Placing A Legend in Titlle of a Plot
Hello,
I am trying to place a legend in the title area of a plot. I can not
seem to find a way to get legend() to do this. Nor can I use the
title() function. Does anyone know a way to do this? I would greatly
appreciate any advice.
Thanks
Josue Samayoa
Center for Biomolecular Science & Engineering
School of Engineering
Division of Physical & Biological Sciences
University of
2005 May 26
2
Reading text files and readLine
Hi,
I am trying to write a function to read in a whole text file as a single
string ( so I can calculate its "sha1" hash function using package
"digest"). I need a single string containing the whole file, and so far I
was using paste(readLines(fileName), collapse = ""). Unfortunately this
function gives me warnings :
incomplete final line found by readLines on
2005 Jun 08
2
matrix
hi,
is it possible to create a matrix with one row and according to add a row?
in fact, at present, I'm doing an algorithm which fill a matrix.
On the web site of CRAN, the package basic is impossible to be load!
can you tell me where i can found it!
Thanks
Sabine
---------------------------------
[[alternative HTML version deleted]]