Displaying 5 results from an estimated 5 matches for "yaseen0202".
2010 Nov 08
4
Create Matrix of 2 Dim from two vectors
Hello,
I have two data.
x<-c(1, 2, 3)
y<-c(4,5,6)
How do i create matrix of 3 by 3 from this two, such that
(1,4) (1,5) (1,6)
(2,4) (2,5) (2,6)
(3,4) (3,5) (3,6)
I tried some thing like this:
xy <- as.data.frame(c(0,0,0), dim=c(3,3))
for(i in 1:3)
for(j in 1:3)
xy[i][j]<-c(x[i],y[j])
but i got errors..!!!!
any help would appreciate
--
View this message in
2010 Aug 24
4
Plot bar lines like excel
Hello guys,
I would to plot a bar line between to curves like in excel as shown in the
following image. but i do not know how I can do that in R.
http://r.789695.n4.nabble.com/file/n2337089/excel_Plot.png
any help would appreciate.
--
View this message in context: http://r.789695.n4.nabble.com/Plot-bar-lines-like-excel-tp2337089p2337089.html
Sent from the R help mailing list archive at
2010 Aug 12
0
Error: evaluation nested too deeply
Hi guys,
I have a code in R and it was work well but when I decrease the epsilon
value (indicated in the code) , then I am getting this error
Error: evaluation nested too deeply: infinite recursion /
options(expressions=)?
any help please
y = 6.8;
w = 7.4;
z = 5.7;
muy = 7;
muw = 7;
muz = 6;
sigmay = 0.8;
sigmaz = 0.76;
sigmaw = 0.3;
betayx = 0.03;
betayz = 0.3;
betayw = 0.67
s =
2010 Apr 30
3
3D Surface plot
Dear All,
I want to create a surface plot from the data. My data set is consists of x,
y and z data.
I plotted in very easy way by Excel worksheet as shown in the attached
picture.
I did some steps in R, but I cannot have the same plot as in Excel
worksheet's figure.
the R code is
x <- c(-1,-0.75,-0.5,-0.25,0,0.25,0.5,0.75,1)
y<- c(-1,-0.75,-0.5,-0.25,0,0.25,0.5,0.75,1)
z<-
2010 Feb 07
4
x-axis plot problem
Hi all,
I tried to have plot of many vector in one plot and i have got a nice plot
but i have problem with x-axis. I want to have month and year only(Jul.07
means July 2007) in x-axis without appearing other number behaind it.
I would appercit any help.
The R code:
F<-c(7.49,6.91,6.78,6.99,7.44,7.42)
M<-c(4.81,4.51,5.21,4.65,4.75,3.86)
P<-c(7.49,15.03,15.19,15.32,15.42,15.45)