[R] seed

2010-04-26 Thread Jimmy Söderly
Hi everybody, How can I set the seed for my simulations ? Is "set.seed(123456)" alright ? Thanks a lot, Jimmy [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] seed

2010-04-26 Thread Jimmy Söderly
Thanks Steve, it seems to work ! 2010/4/26 Steve Lianoglou > Hi, > > On Mon, Apr 26, 2010 at 10:45 AM, Jimmy Söderly > wrote: > > Hi everybody, > > > > How can I set the seed for my simulations ? Is "set.seed(123456)" alright > ? > > H

[R] Sweave

2010-04-26 Thread Jimmy Söderly
Hi everybody, I wanted to use Sweave but I do not have the Latex package: "LaTeX Error: File 'Sweave.sty' not found." I cannot find it with MiKTeX :-( Can somebody help me ? Thanks a lot, Jimmy [[alternative HTML version deleted]] __ R-hel

Re: [R] Sweave

2010-04-26 Thread Jimmy Söderly
hin R): > > > > file.path(R.home(), "share", "textmf", "Sweave.sty") > > > > You can add it to your MiKTeX installation or just put it in the same > > directory as your Rnw file. > > > > > > On Mon, Apr 26, 2010 at 1:10 P

[R] dimnames

2010-08-18 Thread Jimmy Söderly
Hi everybody, I wanted to name a column vector (a variable). This is what I did : try<-matrix(1:4,nrow=4,ncol=1) attr(try,"dimnames")<-list(NULL,"true value") Is it OK ? Thanks for your help, Jimmy [[alternative HTML version deleted]] __ R-

Re: [R] dimnames

2010-08-20 Thread Jimmy Söderly
Thanks Joshua, David and Peter. 2010/8/18 Peter Dalgaard > On 08/18/2010 06:20 PM, Joshua Wiley wrote: > > matrix(1:4, nrow = 4, ncol = 1, dimnames = list(NULL, "true value")) > > > > or even > > cbind("true value"=1:4) > > > -- > Peter Dalgaard > Center for Statistics, Copenhagen Business Schoo

[R] Sweave counter

2010-05-18 Thread Jimmy Söderly
Dear R users, I am using the Sweave package and I am doing some MCMC. I have a loop function for my MCMC. Every 100 iterations, I want the number of iterations already done to appear on my screen (but not on the final document). Is that possible ? Usually I can rely on > if (i%%100==0) cat(i, "\

Re: [R] Sweave counter

2010-05-19 Thread Jimmy Söderly
s for non-scalars, though. > > Benno > > Am 18.Mai.2010 um 19:10 schrieb Jimmy Söderly: > > > Dear R users, > > > > I am using the Sweave package and I am doing some MCMC. I have a loop > > function for my MCMC. Every 100 iterations, I want the number of >

[R] Sweave glm.fit

2010-06-02 Thread Jimmy Söderly
Dear R users, After running Sweave, this is what I get : Warning messages: 1: glm.fit: algorithm did not converge 2: glm.fit: algorithm did not converge There is no glm.fit function in my code. Where does it come from ? From Sweave ? From system.time ? Thanks for your help, Jimmy [[alt

Re: [R] Sweave glm.fit

2010-06-03 Thread Jimmy Söderly
Thanks for your help. Does it have something to do with the mcmc package, the coda package, or the lattice package ? Jimmy 2010/6/3 Gavin Simpson > On Wed, 2010-06-02 at 20:29 +0200, Jimmy Söderly wrote: > > Dear R users, > > > > After running Sweave, this is what I

Re: [R] Sweave glm.fit

2010-06-08 Thread Jimmy Söderly
Thanks for the advice. I found the function : summary(mcmc(x)), from the coda package. 2010/6/4 Gavin Simpson > On Thu, 2010-06-03 at 23:44 +0200, Jimmy Söderly wrote: > > Thanks for your help. > > > > Does it have something to do with the mcmc package, the coda package,