Hello,
I have a problem with ggplot and colors
I used this function to draw somes lines and I want them to be all black
(just to test)
however, I dont get any black line in the figure.
Do you have any experience with ggplot and manual colors??
ggplot(cmax, aes(cmax[,3], cmax[,6],colour=interac
thank you
2013/5/6 Gerrit Eichner
> Hello, Adel,
>
> maybe the argument sep of interaction() helps you. Try
>
> interaction( g[,1], g[,2], sep = "/")
>
> Regards -- Gerrit
>
>
>
> I am using this command to draw the figure attached to this mail.
>>
>> xyplot(g[,4]~g[,3],type="b",**group=inter
Thank you
maybe the argument sep of interaction() helps you. Try
>
> interaction( g[,1], g[,2], sep = "/")
>
> Regards -- Gerrit
>
>
>
> I am using this command to draw the figure attached to this mail.
>>
>> xyplot(g[,4]~g[,3],type="b",**group=interaction(g[,1],g[,2])**, auto.key
>> =list( tit
Hello list
I am trying to solve a problem when drawing a figure related to the
dataframe below.
I draw V6 in Y axes and V3 as X axes. The data are grouped by V1 AND V2.
I use this commande to make it:
xyplot(cm[,6]~cm[,3],type="b",group=interaction(cm[,1],cm[,2],sep="/"),
auto.key =list( title="Ma
hello,
I attach the figure generated by R:
2013/5/8 Adel ESSAFI
> Hello list
> I am trying to solve a problem when drawing a figure related to the
> dataframe below.
> I draw V6 in Y axes and V3 as X axes. The data are grouped by V1 AND V2.
> I use this commande to make it:
&
2013/5/9 PIKAL Petr
> Hi
>
Thank you, that was the option I look for
>
> Use drop=TRUE argument in interaction for removing unused levels.
>
> Petr
>
>
> > -Original Message-
> > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
>
Hello,
How can I make a monte carlo simulation on R?
Regards
Adel
--
PhD candidate in Computer Science
Address
3 avenue lamine, cité ezzahra, Sousse 4000
Tunisia
tel: +216 97 246 706 (+33640302046 jusqu'au 15/6)
fax: +216 71 391 166
[[alternative HTML version deleted]]
__
Hello list
I have this data frame which represent values grouped by algorithm.
remark that for each algorithm, we have the same value in V3 but differnt
values in V4.
I want to make a plot with algorithms in axes, and for each algorithm I
draw a bar (for V3) and a bwplot for V4.
is thart possible.
Hello list
I have this data frame which represent values grouped by algorithm.
remark that for each algorithm, we have the same value in V3 but differnt
values in V4.
I want to make a plot with algorithms in axes, and for each algorithm I
draw a bar (for V3) and a bwplot for V4.
is thart possible.
Hello list
I generated pdf files with R that I integrated
in .tex file and compiled with pdflatex.
however, all the fonts of my R figure not embadded. so the file is rejected
from EDAS web site.
Could you help please.
[adel@localhost hcw]$ pdffonts hcw.pdf
name
Hello list
I have the following data in file in attachment.
in want to draw bars for every value of V5 in finction of V3
grouped by V2*V1. however, each unique value
of V4, V2 and V1 I want to draw a bar.
This example is very close to want I want to do. but
here, for each value of V3, barchart dra
3.9, 115.9, 170.28, 107.82, 175.61, 4.65, 8.27, 4.22, 7.77,
0.04, 0.04, 1.8, 1.42, 4.7, 8.27, 4.22, 7.74, 0.57, 0.68, 57.81,
47.98, 115.58, 163.48, 108.85, 172.21)), row.names = c(NA, -80L
), .Names = c("V1", "V2", "V3", "V4", "V5", "V6", &q
here is the solution if anyone is interrested
barchart(V5 ~ V3 | V1 * V2 , data = t,groups = V4, layout = c(1,6),
auto.key = list(space = "right"), ylab = "Makespan")
Regards
2014/1/14 Adel ESSAFI
> Hello list
> I have the following data in file in attachment.
Hello;
I have the following table
> m
V2 V1 V3
1 C/L 0 732179
3 C/S 0 803926
19 D/F 0 724924
17 D/I 0 755841
13 D/L 0 731904
15 D/S 0 798289
11 I/F 0 871670
9 I/I 0 897718
5 I/L 0 2628113
7 I/S 0 2628113
2 C/L 1 1107269
4 C/S 1 1395714
20 D/F 1 1181282
18 D/I 1
Hello;
I have the following table
> m
V2 V1 V3
1 C/L 0 732179
3 C/S 0 803926
19 D/F 0 724924
17 D/I 0 755841
13 D/L 0 731904
15 D/S 0 798289
11 I/F 0 871670
9 I/I 0 897718
5 I/L 0 2628113
7 I/S 0 2628113
2 C/L 1 1107269
4 C/S 1 1395714
20 D/F 1 1181282
18 D/I 1
Hello list,
I have the following data on "dm" table
> dm
Group.1 V1 V2 V3V4 V5 V6 V7 V8
1 C/L NA 15.5 732179 875270.6 -143091.46 1107270 1088300 18964.40
2 C/S NA 15.5 803926 850352.1 -46426.03 1395710 1312310 83403.30
3 D/D NA 15
Hello,
I have a file with very big values. I want to display the real values with
classic ways (without exposant)
> summary(a[,1]);
Min. 1st Qu.Median Mean 3rd Qu. Max.
1.198e+09 1.199e+09 1.200e+09 1.200e+09 1.201e+09 1.202e+09
Can you help please?
Regards
Adel
--
Hi list
I loaded the content of a file dureetasks.txt to variable a. This file
contains an interger per line.
when I print a vector, it displays correctly.
however, when I try to print the histogram, I get this error message
> a=read.table("dureetasks.txt")
> hist(a)
Error in hist.default(a) :
1
Min. : 1
1st Qu.: 77
Median : 2658
Mean : 25802
3rd Qu.: 42558
Max. :1575814
> hist(a);
Error in hist.default(a) : 'x' must be numeric
2010/8/21 Gavin Simpson
> On Sat, 2010-08-21 at 11:37 +0200, Adel ESSAFI wrote:
> > Hi list
> >
> >
-- Forwarded message --
From: Adel ESSAFI
Date: 2010/8/21
Subject: Re: [R] basic hist() question
To: Henrique Dallazuanna
It works fine.
Could you explain to me why it did not worked for read.table?
regards
Adel
2010/8/21 Henrique Dallazuanna
> Try this:
>
>
thanks,
I'am not veru used with R!!
regards
2010/8/21 Henrique Dallazuanna
> Adel,
>
> read.table return a data.frame, Gavin showed, you need pass which column
> will be plotted to hist.
> scan return a vector.
>
>
> On Sat, Aug 21, 2010 at 10:59 AM, Adel ESS
Hi list
I am a new user of R. I ask for some "beginner" question
I am searching if there is any function that computes the variation of some
discrete values of a vector (mean() and sd() exists, but i have not find
variation).
Thanks in advance
Adel
--
PhD candidate in Computer Science
Address
-- Forwarded message --
From: Adel ESSAFI
Date: 2010/6/5
Subject: Re: [R] How to make R automatic?
To: zhangted001
Well, I am new but i will give you an example of script that I run
cat exec2.sh
R --no-save << EOF
fl=list.files(pattern="*.dat")
for(
to
Yes, that what I mean. But I looked for ready function :)
> compute the mean and the std.dev., it is straightforward to calculate
> it.
>
> Adel ESSAFI schrieb:
>
>> Hi list
>> I am a new user of R. I ask for some "beginner" question
>>
>&g
2010/6/5 Adel ESSAFI
>
>
> 2010/6/5 Jannis
>
> What exactly do you mean by "variation"? As I understand it, this term is a
>> broad term for all kinds of different "spread measures" (like quantile range
>> or standard deviation). Do you mean the Co
Hello list
I have this file
0 121289479 25
0 212599129 1
0 285254098 21
0 444889848 45
0 469197123 30
0 640007403 82
0 718215617 8
0 758534043 56
0 799706577 4
0 814441385 93
0 843545059 37
0.2 121289479 6
0.2 285254098 3
0.2 444889848 6
0.2
alues 0 , 0.2 and 0.4
>
> And here's one way to color them:
> plot(x[,2], x[,3], col=c("red", "blue", "green")[as.factor(x[,1])],
> xlab="X", ylab="Y", main="Colored Points")
>
> You might be interested in ?par
Deal list
> I want to generate a random number in an interval using exponential low
> I know how to make that simply using uniform low
> x1 <- runif(1, 5.0, 7.5)
> this will generate a number between 5 et 7.5 but with uniform low.
> Could you help pease.?
> Regards
>
> --
> PhD candidate in Comput
Hello,
is ot possible to draw two ecdf of vectors (say s1 and s2) on the same
figire with R.
plot function draws a new plot and there is no function like points or lines
to draw a second ecdf on the figure.
Regards
--
*PhD candidate in Computer Science
Address
3 avenue lamine, cité ezzahra, S
Bonjour
I have this data frame and I am newbie in R.
I want to ask if it is possible to draw 10 lines in a plot such that: a line
for every colomn, the x - axis is the second column and the y-axis is the
third one.
Thank you for any input
1 0 1094442
1 0.2 1163576.2
1 0.4 1238539.6
1
Hi list
I am discovering R, and
--
PhD candidate in Computer Science
Address
3 avenue lamine, cité ezzahra, Sousse 4000
Tunisia
tel: +216 97 246 706 (+33640302046 jusqu'au 15/6)
fax: +216 71 391 166
[[alternative HTML version deleted]]
__
R-h
Hello
I am discovering R and I find it is really very powerful.
However, I find some newbie difficulties.
Here, I have a data frame with manu values that I want to calculate the
frequency (the nomber of line) of the some criteria.
For exemple here, I want it to print the number of occurence wher
Hello,
is there any help please.
Regards
2011/10/21 Adel ESSAFI
> Hello
> I am discovering R and I find it is really very powerful.
>
> However, I find some newbie difficulties.
>
> Here, I have a data frame with manu values that I want to calculate the
> frequency (the n
Hello,
is there any help please.
Regards
2011/10/21 Adel ESSAFI
> Hello
> I am discovering R and I find it is really very powerful.
>
> However, I find some newbie difficulties.
>
> Here, I have a data frame with manu values that I want to calculate the
> frequency (the n
Hi,
It is not what I want, but, thx anyway.
Regards
2011/10/22 Weidong Gu
> try this
>
> table(sci[,2]=0,sci[,1]=L)
>
> Weidong Gu
>
> On Sat, Oct 22, 2011 at 7:51 AM, Adel ESSAFI wrote:
> > Hello,
> > is there any help please.
> > Regards
> >
&
u want?
>
> sci[,5][sci[,2]==0 & sci[,1]==L]
>
> Weidong
>
> On Sat, Oct 22, 2011 at 8:19 AM, Adel ESSAFI wrote:
> > Hi,
> > It is not what I want, but, thx anyway.
> > Regards
> >
> >
> > 2011/10/22 Weidong Gu
> >>
> >> t
2011/10/22 Adel ESSAFI
> NO
> > aggregate(si[,7],list(si[,2],si[,1]),mean)
>Group.1 Group.2 x
> 1 0.0 D 212.5015448
> 2 0.2 D 200.5271137
> 3 0.4 D 191.5387529
> 4 0.6 D 131.5856218
> 5 0.8 D 16.4
e data, try this
>
> aggregate(si[,7],list(si[,2],si[,1]),function(x) sum(table(x)))
>
> Weidong
>
> On Sat, Oct 22, 2011 at 9:28 AM, Adel ESSAFI wrote:
> > NO
> >> aggregate(si[,7],list(si[,2],si[,1]),mean)
> >Group.1 Group.2 x
> > 1
dear list
I use runif to generate a ramdom number between min and max
runif(n, min=0, max=1)
however , the syntaxe of rexp does not allow that
rexp(n, rate = 1)
and it generate a number with the corresponding rate.
The question is: how to generate a number between min and max using rexp().
Hi list
I need some help for drawing some histograms
I have a dataframe , say,
X Y Z T
I want to draw a histogram Z-T for each value of the couple (X-Y).
When I use thus syntax
> library(lattice)
> histogram(law[,3] ~ law[,66] | law[,1] )
it draws multiple histograms but by selecting distinc
Le 11 février 2012 02:33, David Winsemius a écrit :
>
> On Feb 10, 2012, at 7:05 PM, Adel ESSAFI wrote:
>
> Hi list
>>
>>
>> I need some help for drawing some histograms
>>
>> I have a dataframe , say,
>> X Y Z T
>>
>> I want to draw
Hello
> orderulcount
Group.1 Group.2 Group.3 xV5
7C L 0.0 30 C / L
19 C L 0.2 27 C / L
31 C L 0.4 15 C / L
43 C L 0.6 7 C / L
54 C L 0.8 2 C / L
10 C S 0.0 27 C / S
22 C S 0.
with simpler expressions:
if I have a dataframe
A B C
is it possible de transform it to a matrix where nrow(A) colomns, nrow(B)
row and for each value of C, we put the corresponding value in the matrix.
Regards
Le 18 février 2012 13:57, Adel ESSAFI a écrit :
> Hello
>
> >
Hello,
I want to create 10 dataframe using a for loop.
I don t know what to do to create 10 different dataframes whose name is
parametrized with variable i.
This syntaxe fails. It create a unique fataframe called dfn.
Any input will help
Thanks
> for (i in 1:10){
+ filename=paste("avail4",i,sep
44 matches
Mail list logo