Re: [R] Binary data on JAGS

2021-06-01 Thread Massimiliano Tripoli
ic strip ) > > > On Tue, Jun 1, 2021 at 7:57 AM Massimiliano Tripoli < > massimiliano.trip...@gmail.com> wrote: > >> Dear R users, >> I'm trying to reproduce the example 6.5.1 (Dobson (1983)) in BUGS book in >> linux using JAGS. >> Below the code as >

[R] Binary data on JAGS

2021-06-01 Thread Massimiliano Tripoli
Dear R users, I'm trying to reproduce the example 6.5.1 (Dobson (1983)) in BUGS book in linux using JAGS. Below the code as https://www.mrc-bsu.cam.ac.uk/software/bugs/the-bugs-project-the-bugs-book/bugs-book-examples/the-bugs-book-examples-chapter-6-6-5-1/ # By R code: library('rjags') jags

[R] par function for barchart

2015-01-14 Thread Massimiliano Tripoli
-- Massimiliano Tripoli Collaboratore T.E.R. scado il 31/12/2017 ISTAT - DCCN - Direzione Centrale della Contabilità Nazionale U.O. Contabilità dei flussi di materia del sistema economico - CSA/C Via Depretis, 74/B 00184 Roma Tel. 06.4673.3132 E-mail: mtrip...@istat.it

Re: [R] Converting list to character

2014-11-26 Thread Massimiliano Tripoli
Thanks David, that's I was looking for. Thanks to Chel too. Massimiliano - Messaggio originale - Da: David L Carlson dcarl...@tamu.edu A: Chel Hee Lee chl...@mail.usask.ca, Massimiliano Tripoli mtrip...@istat.it, r-help@r-project.org Inviato: Martedì, 25 novembre 2014 19:40:51 Oggetto

[R] Converting list to character

2014-11-25 Thread Massimiliano Tripoli
..$ 13: chr GR.3.1 GR.3.8 ..$ 15: chr GR.3.8 ..$ 16: chr GR.3.1 ..$ 17: chr GR.3.8 ..$ 18: chr GR.3.1 GR.3.8 ..$ 20: chr GR.3.8 NULL As you can see the x coloumn is a list and I would want to change it to character variable. Anyone may help me? Thanks, Massimiliano -- Massimiliano

Re: [R] Replacing NA's in the data set

2014-04-29 Thread Massimiliano Tripoli
-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Massimiliano Tripoli Collaboratore T.E.R. scado il 31/12/2014 ISTAT - DCCN

Re: [R] problem of tapply function

2014-03-30 Thread Massimiliano Tripoli
Thanks Bert - Messaggio originale - Da: Bert Gunter gunter.ber...@gene.com A: Massimiliano Tripoli mtrip...@istat.it Cc: r-help@r-project.org Inviato: Sabato, 29 marzo 2014 15:52:59 Oggetto: Re: [R] problem of tapply function The argument to tapply is FUN, not fun. R is case sensitive

[R] problem of tapply function

2014-03-29 Thread Massimiliano Tripoli
5 2 4 6 3 16146 16147 16150 16151 16153 16154 16155 16157 16158 5 3 1 2 1 1 4 1 1 # By looking tapply function help why the table's output is different from tapply's output? # Anyone could help to me, please? Massimiliano -- Massimiliano

[R] Problem of ! operator

2014-03-28 Thread Massimiliano Tripoli
grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_3.0.3 -- Massimiliano Tripoli Collaboratore T.E.R. scado il 31/12/2014 ISTAT - DCCN - Direzione Centrale della Contabilità Nazionale U.O. Contabilità dei flussi di materia del sistema economico

Re: [R] sub function problem

2014-03-03 Thread Massimiliano Tripoli
...@precheza.cz A: Massimiliano Tripoli mtrip...@istat.it, r-help@r-project.org Inviato: Lunedì, 3 marzo 2014 10:36:02 Oggetto: RE: [R] sub function problem Hi Everything works for me as expected. Nothing happens R starts as usual. You can shorten your function corregge2 - function(stringa){ nc - nchar

[R] sub function problem

2014-02-28 Thread Massimiliano Tripoli
) [1] fghaghf And restarting R I had this message: Error:10061 R is not in server mode. Please, start R and/or run the startSocket Server function available in svSocket package! Anyone could help me, Thanks in advance -- Massimiliano Tripoli Collaboratore T.E.R. scado il 31/12/2014 ISTAT

[R] paste function by INDICES

2011-04-27 Thread Massimiliano Tripoli
. For example for ID=2 b should be 13, for ID=3 b should be 114, and for ID=4 should be 1241. How can I do that ? Thank you for any advices, Regards, Massimiliano Tripoli [[alternative HTML version deleted]] __ R-help@r-project.org mailing list