Displaying 20 results from an estimated 400 matches similar to: "printing big real values"
2010 Aug 21
4
basic hist() question
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) : 'x' must be numeric
Can you help please?
regards
--
PhD candidate in
2012 Dec 04
3
monte carlo simulation on 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]]
2012 Feb 18
2
transforming a data frame to matrix
Hello
> orderulcount
Group.1 Group.2 Group.3 x V5
7 C 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.2 10 C / S
34 C S 0.4 6 C / S
46 C S 0.6 1 C / S
1 D
2011 Dec 13
1
generate a number using exponential low
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 Computer Science
> Address
> 3 avenue lamine, cité ezzahra, Sousse 4000
2010 Jun 01
5
How to make R automatic?
Hello, I have a question about how R can run automatically. Here is the
story:
A file called "data.csv" will be generated every couple of minutes in a
folder (overwrite itself). What I want R to do is:
1) scan the folder to find the file.
2) if the file is a newly generated file, process the file
3) output some file identifier on the screen, such as the time when the file
was
2011 Oct 21
1
question about aggregate
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]]
2013 Feb 04
1
ggplot and colors
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=interaction(cmax[,1],cmax[,2])))
+ geom_line() + geom_point() +
2012 Jan 27
3
generate a random number with rexp ?
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().
Regards
--
PhD candidate in Computer Science
Address
3 avenue lamine, cité ezzahra, Sousse 4000
2011 Sep 24
2
two ecdf in the same figure
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, Sousse 4000
Tunisia
tel: +216 97 246 706
fax: +216 71 391 166*
[[alternative HTML version deleted]]
2011 Sep 14
1
draw points in R
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 469197123 13
0.2 640007403 24
0.2 718215617 3
0.2 758534043 2
0.2 799706577 2
0.2
2012 Feb 24
1
syntaxe problem
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 = "_")
+ dfn=read.table(filename)
+ }
--
PhD candidate in Computer Science
2013 May 06
1
xyplot legend : simple question
Hello
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( title="Evolution de la stabilit?" , points = FALSE, columns=2,
lines = TRUE,space="right") ,data=g,xlab=expression(beta),ylab="stabilit?")
I want to change name of the legend that were attributed
2010 Jun 05
1
variation
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
3 avenue lamine, cité ezzahra, Sousse 4000
Tunisia
tel: +216 97 246 706 (+33640302046
2012 Feb 11
1
multiple histograms from a dataframe
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 distinct values of law[,1]
The deal is to make the same thing but for a couple of columns
Thanks in
2010 Dec 10
0
Extended Deadline and Financial Support
Dear,
At the request of a number of potential contributors, we have decided to extend the deadline for receipt of papers to be presented to The 6th International Conference: Sciences of Electronics, Technologies of Information and Telecommunications SETIT 2011. This deadline is extended to December 31, 2010.
This conference will be held in Tunisia, 23-26 March 2011.
The paper submission is
2011 May 01
0
Deadline submission for the SETIT 2011-TUNISIA-
Appologies if you received multiple copies.
Please forward this message to any potential colleagues in the areas of interest
Dear,
Just a small reminder that the deadline submission for the sixth International Conference Sciences of Electronics, Technologies of Information and Telecommunications SETIT 2011 is coming up.
If you are interested to submit a regular paper, tutorial or a proposal
2008 Jul 14
2
Convert data set to data frame
Greetings,
I have a data set look like this:
> print(MyResult)
2 5 9 10
11 13
mean 6.108394 3.272211e+01 3.951703e+02 2.086217e+03
79.838867 2.592272e+04
median 1.288889 2.743511e+00 4.061491e+00 4.943710e+01
-2.821667 -3.040625e+00
var 2885.350595 2.343144e+05 1.022680e+06 1.200589e+07
365179.508831
2008 Nov 13
2
2^2 problem revisited
Dear R gurus:
Here is the following from Montgomery's Design and Analysis of
Experiments, 5th edition.
> str(rout1.df)
'data.frame': 16 obs. of 3 variables:
$ resp: num 18.2 18.9 12.9 14.4 27.2 24 22.4 22.5 15.9 14.5 ...
$ A : Factor w/ 2 levels "-1","1": 1 1 1 1 2 2 2 2 1 1 ...
$ B : Factor w/ 2 levels "-1","1": 1 1 1 1 1 1 1 1 2
2011 Oct 17
1
multiple lines with the same data frame?
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 0.6 1303510.4
1 0.8 1376573.2
1 1 1454175
2 0 1076068
2 0.2 1139246
2 0.4 1212344
2
2006 Dec 02
1
Chi-squared approximation may be incorrect in: chisq.test(x)
I am getting "Chi-squared approximation may be incorrect in:
chisq.test(x)" with the data bleow.
Frequency distribution of number of male offspring in families of size 5.
Number of Male Offspring N
0 518
1 2245
2 4621
3 4753
4 2476
5