[R] Help for a function

2012-12-04 Thread anoumou
Hello all, I need a help. I am modeling a disease and a create a R function like that: Lambda-function (x,date1,r,h,a){ ndate1 - as.Date(date1, %d/%m/%Y) t1 - as.numeric(ndate1) x[order(x$i),] t -x[,t] i -x[,i] CONTAGIEUX -x[,CONTAGIEUX] while ( t1 min(t) ){ for (i in 1:length(i)

[R] Help!!!!!

2012-11-24 Thread anoumou
Dear R users. I am little lost and i need your help. I have such data. DATE i Symptomes t 1 2009-04-24 Mexique 0 14358 2 2009-04-24 usa 0 14358 3 2009-04-26 Mexique18 14360 4 2009-04-26

Re: [R] Help!!!!!

2012-11-24 Thread anoumou
Hello, Thank you very much for your help. I appreciate. :-) I want the count of INCUBATION and CONTAGIEUX to be by country. the count for example of mexique must not be the same as for USA. Have u an idea? Thanks you in advance. anoumou -- View this message in context: http://r.789695.n4

[R] help on date dataset

2012-11-10 Thread anoumou
Hi everybody, I am beginer in R and I need your precious help. I want to create a small function in R as in sas to retrieve date. I have a file with data that import in R. DATE PAYS nb_pays.ILI. 1 24/04/2009 usa0 2 24/04/2009

Re: [R] help on date dataset

2012-11-10 Thread anoumou
Rui and ,arun thanks you so much. as i am a beginner, i am on that subject since two days. Thanks,thanks so much. It works !!! -- View this message in context: http://r.789695.n4.nabble.com/help-on-date-dataset-tp4649175p4649203.html Sent from the R help mailing list archive at