search for: jamilnaser79

Displaying 7 results from an estimated 7 matches for "jamilnaser79".

2012 Oct 02
3
Integration in R
Dear R-users, I am facing problem with integrating in R a likelihood function which is a function of four parameters. It's giving me the result at the end but taking more than half an hour to run. I'm wondering is there any other efficient way deal with. The following is my code. I am ready to provide any other description of my function if you need to move forward.
2013 Apr 03
5
scanning data in R
Dear R-user, May I seek your suggestion. I have a data file 'stop' to be scanned in R. But I want to ignore one specific number '21' there. Putting differently, I want to get all numbers in the file except 21. Is there any command to achieve it? -------------------------------------------------------------- b<-scan("F:\\stop.txt")
2012 Oct 23
1
Minimizing Computational Time
Dear R-users, May I seek some suggestions from you. I have a long programme written in R with several 'for' loops inside. I just want to get them out by any elegant way (if there is!) to reduce the computational time of the main programme. For instance, is there any smart way for the following programme that will lessen time?
2013 Mar 11
2
vertical lines in R plot
Dear All, May I seek your suggestion on a simple issue. I want to draw vertical lines at some positions in the following R plot. To be more specific, I wish to draw vertical lines at d=c(5.0,5.5,6) and they should go till p=c(0.12,0.60,0.20) . I haven't found any way out, though made several attempts. Please run the following commands first if you are interested in!
2013 Jan 30
1
Percentages in bar plot
Dear R-users, Though it's a silly thing to ask, but I'm not getting a way out. I wish to find the percentage distribution for a data vector 'stop'. The coomand below is giving the frequency distribution. May I know the option to see the percentages instead of frequencies. Similarly, what option I should put in a histogram plot to see the percentages instead of frequencies?
2013 Jan 08
2
Integration in R
Hi R-users. I'm having difficulty with an integration in R via the package "cubature". I'm putting it with a simple example here. I wish to integrate a function like: f(x1,x2)=2/3*(x1+x2) in the interval 0<x1<x2<7. To be sure I tried it by hand and got 114.33, but the following R code is giving me 102.6667.
2012 Oct 14
1
PFIM 3.2
Dear R-user, I'm having some difficulty with working PFIM 3.2, a package for implementing population PK/PD in R. I wish to evaluate the determinant of Fisher information matrix each time with successive dose from a pre defined sequence of doses and want to store those values in a vector. It's important to note that in my 'stdin.r' file, dose<-c(u) and each time u is to be