Re: [R] Clustering algorithms don't find obvious clusters

2010-06-11 Thread Cuvelier Etienne
Le 11/06/2010 12:45, Henrik Aldberg a écrit : I have a directed graph which is represented as a matrix on the form 0 4 0 1 6 0 0 0 0 1 0 5 0 0 4 0 Each row correspond to an author (A, B, C, D) and the values says how many times this author have cited the other authors. Hence the first

Re: [R] colored PCA biplot

2009-04-29 Thread Cuvelier Etienne
Hillary Cooper a écrit : Hi- I'm trying to make my PCA (princomp) colored. In my csv excel sheet, I have the first column numbered according to the groupings I want to assign to the PCA. I've played around with trying to set this first column as the color vector, but haven't had any luck. Any

Re: [R] legend with small colored boxes

2009-04-29 Thread Cuvelier Etienne
Christophe Dutang a écrit : Hi all, I tried to a nice legend with small boxes filled with the colors used for the plots. But it does nor work, boxes are always filled with black. An example is here plot(1:4,1:4) lines(1:4,4:1, col=blue) #try something like this

Re: [R] truehist and density plots

2009-04-28 Thread Cuvelier Etienne
Perhaps like this : temp =density(b[20:50]) truehist(b, ymax=max(temp$y)) lines(temp) Etienne carol white a écrit : Consider a vector of 100 elements (attached files). then, truehist(b) lines(density(b[20:50])) How is it possible to have density plots of all subsets like b[20:50] within

Re: [R] How to create a graph layout?

2009-04-27 Thread Cuvelier Etienne
. + + Cuvelier Etienne + Assistant + FUNDP - Faculté d'Informatique + rue Grandgagnage, 21 B-5000 Namur (Belgique) + tel: 32.81.72.49.75fax: 32.81.72.49.67 + skype

Re: [R] how to send email with R

2009-04-27 Thread Cuvelier Etienne
, minimal, self-contained, reproducible code. + + Cuvelier Etienne + Assistant

Re: [R] figure layout

2009-04-26 Thread Cuvelier Etienne
hesicaia a écrit : Hello, I have a specific question regarding figure layout. I am tryng to make a 2 by 1 figure but I would like to make the bottom figure slightly larger than the top figure. I have read through the help posts and have tried to use fig=c(),new=T and have also tried to

[R] map of china without regions

2009-04-16 Thread Cuvelier Etienne
Hello, I use the map package in conjunction with the mapdata package, and I want to draw the map of China without interior regions. After reading the doc and searched in this mailing list I've tried map(china,interior=FALSE) and map(china,fill=TRUE) but I allways see the interior regions... If

[R] debug/mtrace problem

2009-04-13 Thread Cuvelier Etienne
Hello, In the past I have used intensively the mtrace function from the debug package, but now with my actual version of R(2.8.1) , it is impossible to use it anymore. I've updated all my packages, and I don't understand how solve this problem... Here is an example code :