search for: khazaei

Displaying 11 results from an estimated 11 matches for "khazaei".

2010 Feb 26
7
question to make a vector without loop
Hello all, I want to define a vector like w[k+1]=w[k]*a/(b+k) for k=1,...,N-1 without use loop. Is it posible to do in R? Regards khazaei
2010 Jan 19
3
question on plot in R with mac
-------------------------------------------------------------------------- Hello all My computer is MacBook and I want to draw a plot in R, for example for x <- c(1,3,6,9,12) y <- c(1.5,2,7,8,15) I use this command plot(x,y). but it dosn't work. Could you please help me? thank you khazaei
2010 May 22
1
question about graph
Hi, I have two different sets of data from two different populations. I want to plot these samples (for example: Line graph) by just one graph. could you please help me? Thanks Khazaei
2010 Mar 02
2
question to define a matrix with some vectors with different lengths
Hi, I have some vector v1,v2,...,vk, with different lengths. I want to consider these vectors as a matrix with k rows. Can you please guide me how I can do it? Regards khazaei
2010 Mar 05
2
question on maximum of each row of the matrix
Hi, I used the apply()function to compute the maximum of the each row of the matrix, but in my application sometime the matrix has just one row, and the apply() dosen't work. Could you please give me some hints? thank you khazaei
2010 Mar 11
2
divid the rows of the matrix by the cector
Hi, I have a matrix with m rows and n column and a vector with n elements. I want to divid each rows of the matrix by vector direcly. could you please hint me? Thank you khazaei
2010 May 11
2
question about R
Hi, At each iteration in my program,I need to generate tree vectors,X1,X2,X3, from exponential distribution with parameters a1,a2,a3. Can you help me please how can I do it such that it take a little time? thank you khazaei
2009 Dec 25
2
[ how can sample from f(x)~x^(a-1)
Hello all how can sample from f(x)~x^(a-1)*ind(0,min(b,-log(u)) in R? where a and b is positive constand and 0<u<1 thanks khazaei
2009 Dec 11
3
how can generate from trunceted gamma distribution in R ?
Hi, all How can generate a sample from truncated inverse gamma distribution in R? thanks
2010 Aug 09
1
error (code 12)
...to debug R(206,0xa01ad720) malloc: *** mmap(size=4000002048) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug Is there any an easy way to overcome this error? Any help or information would be great, thanks I am using Mac OS X 10.5.8. Khazaei
2009 Dec 07
0
inverse gamma truncated
Hi, all How can generate a sample from truncated inverse gamma distribution in R? thanks