[R] coarsening levels problem

2012-11-17 Thread Murray Jorgensen
Greetings from New Zealand. I hope that my difficulties are clear from the following output. Ideas gratefully received! Murray Jorgensen cc - scan() 3000 3500 2500 2500 3000 3000 3000 3000 3000 2000 2000 2000 2000 4800 3000 4500 3000 2000 2000 4400 3000 3000 2500 3000 3000 2000 3000 2000

Re: [R] coarsening levels problem

2012-11-17 Thread Murray Jorgensen
: akl other A.K. - Original Message - From: Murray Jorgensen m...@waikato.ac.nz To: r-help r-help@r-project.org Cc: Sent: Saturday, November 17, 2012 4:28 PM Subject: [R] coarsening levels problem Greetings from New Zealand. I hope that my difficulties are clear from the following

[R] Converting Fortran or C++ etc to R

2011-01-07 Thread Murray Jorgensen
all this is so that I may try out some variants of the program. I expect this will be much easier to do in R! Thanks to all who replied. Murray -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email

Re: [R] Converting Fortran or C++ etc to R

2011-01-05 Thread Murray Jorgensen
(C/C++) code at every stage of the rewrite. Don't just write it all in one go and then hope it works! Small steps Barry -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email: m...@waikato.ac.nz

[R] Converting Fortran or C++ etc to R

2011-01-04 Thread Murray Jorgensen
I'm going to try my hand at converting some Fortran programs to R. Does anyone know of any good articles giving hints at such tasks? I will post a selective summary of my gleanings. Cheers, Murray -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department

Re: [R] Sweaving quotes

2010-07-29 Thread Murray Jorgensen
this is an issue for the R manuals, see our documentation for ways around this (such as package ae). On Wed, 28 Jul 2010, Marc Schwartz wrote: On Jul 28, 2010, at 7:43 PM, Murray Jorgensen wrote: The significance code line to summary() applied to an lm() fitted model object is Signif. codes: 0

Re: [R] Sweaving quotes

2010-07-29 Thread Murray Jorgensen
, Murray Jorgensen wrote: The significance code line to summary() applied to an lm() fitted model object is Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 The corresponding line in the LaTeX source produced by Sweave is Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1

Re: [R] Sweave and scan()

2010-07-28 Thread Murray Jorgensen
, Bass,Bass) @ which does give the output I want (though in a different style) and leaves the R session in the state that I want. Thanks for all your help. Murray David Winsemius wrote: On Jul 27, 2010, at 7:01 AM, Murray Jorgensen wrote: Both suggestions generate similar errors to those

Re: [R] Sweave and scan()

2010-07-28 Thread Murray Jorgensen
. Thank for that. BTW my previous Thanks for all your help was meant to be Thanks to all for your help. Cheers, Murray Duncan Murdoch wrote: On 28/07/2010 6:33 PM, Murray Jorgensen wrote: Omigod! The archival links shows that this was the same problem that caused me to give up on Sweave about 6

[R] Sweaving quotes

2010-07-28 Thread Murray Jorgensen
Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email: m...@waikato.ac.nzmajorgen...@ihug.co.nz Fax 7 838 4155 Phone +64 7 838 4773 wkHome +64 7 825 0441 Mobile 021 0200 8350

Re: [R] Sweaving quotes

2010-07-28 Thread Murray Jorgensen
Thanks, Marc, and also Jay Kearns. After experimentation I think useFancyQuotes = FALSE my be best as TeX style can look a bit funny for R output. Cheers, Murray Marc Schwartz wrote: On Jul 28, 2010, at 7:43 PM, Murray Jorgensen wrote: The significance code line to summary() applied

Re: [R] Sweave and scan()

2010-07-27 Thread Murray Jorgensen
Both suggestions generate similar errors to those of the original code. I would also be worried if the results would not puzzle my students. But thanks! Murray David Winsemius wrote: On Jul 26, 2010, at 11:54 PM, Murray Jorgensen wrote: I am introducing the scan() function to my class

[R] Sweave and scan()

2010-07-26 Thread Murray Jorgensen
() 64 62 Comments would be appreciated. (And thanks to Ross Darnell for a lot of help on another list.) Cheers, Murray Jorgensen -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email: m

[R] Html help

2010-06-14 Thread Murray Jorgensen
not include all the packages that I have installed and linked. I don't want to read my html help from the web because sometimes I am off-line or on a slow connection. How do I go about getting a local set of html help files? Cheers, Murray Jorgensen -- Dr Murray Jorgensen http

Re: [R] Html help

2010-06-14 Thread Murray Jorgensen
:13 a.m., Duncan Murdoch wrote: Murray Jorgensen wrote: I have just installed R 2.11.1 on my XP laptop. I like html help [...] How do I go about getting a local set of html help files? Since 2.10.0, HTML help is generated on demand. It doesn't go off your local computer, it works locally

[R] R or C++ on FreeNX servers

2009-11-25 Thread Murray Jorgensen
the parallelizing would be handled. Regards, Murray Jorgensen -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email: m...@waikato.ac.nzFax 7 838 4155 Phone +64 7 838 4773

[R] R or C++ on FreeNX servers

2009-11-25 Thread Murray Jorgensen
, how the parallelizing would be handled. Regards, Murray Jorgensen -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email: m...@waikato.ac.nzFax 7 838 4155 Phone

[R] Help with package reshape

2009-10-25 Thread Murray Jorgensen
2691185 NA 12 NA 2753555 NA 11 NA 308 NA 948 NA 12 34928082511 12 11 Suggestions gratefully received! Regards, Murray Jorgensen -- Dr Murray Jorgensen http

[R] Help with package reshape

2009-10-25 Thread Murray Jorgensen
1185 NA 12 NA 2753555 NA 11 NA 308 NA 948 NA 12 34928082511 12 11 Suggestions gratefully received! Regards, Murray Jorgensen -- Dr Murray Jorgensen http

Re: [R] two-factor linear models with missing cells

2009-08-04 Thread Murray Jorgensen
refers to the mean of the (3,4) cell rather than the that of the (1,4) cell making the (3,4) cell a sort of 'honorary' member of the first row. This could have been done to the (2,4) cell but I guess the rule is to drop the cell with the highest sum of row and column number. Murray Jorgensen

[R] two-factor linear models with missing cells

2009-08-02 Thread Murray Jorgensen
Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email: m...@waikato.ac.nzFax 7 838 4155 Phone +64 7 838 4773 wkHome +64 7 825 0441 Mobile 021 0200 8350

[R] two-factor linear models with missing cells

2009-08-02 Thread Murray Jorgensen
Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email: m...@waikato.ac.nzFax 7 838 4155 Phone +64 7 838 4773 wkHome +64 7 825 0441 Mobile 021 0200 8350

[R] Tick label orientation

2009-04-02 Thread Murray Jorgensen
I had hoped that plot(c(0,24),c(0,-6),xlab=Time,ylab=Day, type=n, main=This Week,axes=FALSE) axis(2,at=0:(-6), labels = c(Sun,Mon,Tues,Wed,Thurs,Fri,Sat),hadj=TRUE) axis(1,at=seq(0,24,4)) would give me horizontal tick labels. It doesn't. What would? Murray -- Dr Murray Jorgensen

Re: [R] sampling from Laplace-Normal

2008-11-03 Thread Murray Jorgensen
: Theory and Methods, 33(8), 1733-1753. Perhaps you can get around your problem using this representation or alternatively reproduce the problem with one of the component rvs. Cheers, Murray Jorgensen Hi, I have to draw samples from an asymmetric-Laplace-Normal distribution: f(u|y, x, beta

Re: [R] step() and stepAIC()

2008-10-12 Thread Murray Jorgensen
Prof Brian Ripley wrote: On Sun, 12 Oct 2008, Murray Jorgensen wrote: The birth weight example from ?stepAIC in package MASS runs well as indeed it should. However when I change stepAIC() calls to step() calls I get warning messages that I don't understand, although the output is similar

[R] step() and stepAIC()

2008-10-11 Thread Murray Jorgensen
with a factor response will be ignored (and three more the same.) Checked with 2.7.0 on Os X and 2.6.2 on Windows. Cheers, Murray -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email: [EMAIL PROTECTED

Re: [R] lattice plotting character woes

2008-08-26 Thread Murray Jorgensen
been scanned and cleared by MailMarshal www.marshalsoftware.com ## -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email: [EMAIL

Re: [R] lattice plotting character woes

2008-08-26 Thread Murray Jorgensen
1:6 Mark Leeds has pointed out that whatever numbers appear as plotting characters on the screen, they are replaced by circles when you save a pdf via pdf() xyplot() dev.off() I have reproduced this on my Mac. Cheers, Murray -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff

[R] lattice plotting character woes

2008-08-25 Thread Murray Jorgensen
20 20 20 I would dearly like to have my plotting symbols indicate the zone but I am frustrated. Curiously I may put other (numeric or character) variable in place of zz and get variable plotting characters. Murray -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html

[R] Extracting formula from an lm object

2008-08-24 Thread Murray Jorgensen
another linear model of the form z ~ A + B + x for some other response variable z. I would be grateful for any suggestions of a nice way to do this. Cheers, Murray Jorgensen -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato

Re: [R] Extracting formula from an lm object

2008-08-24 Thread Murray Jorgensen
Thanks to Professors Ripley and Turlach for their help. Brian's solution was simple and elegant but Berwin's was also informative. Murray Jorgensen Prof Brian Ripley wrote: On Sun, 24 Aug 2008, Berwin A Turlach wrote: G'day Murray, On Sun, 24 Aug 2008 18:34:39 +1200 Murray Jorgensen [EMAIL

[R] Programming Concepts and Philosophy

2008-06-19 Thread Murray Jorgensen
rather than using 10 and 120 throughout the script. This sort of stuff is not specifically R but can be a problem for students with little programming background. I am happy to summarise responses. Murray Jorgensen -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html

[R] Recommended Packages

2008-03-02 Thread Murray Jorgensen
of hundred, and the remained. That way one could install the recommended ones routinely and add in the others as required. Any comments? Murray Jorgensen -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email

Re: [R] [OT] good reference for mixed models and EM algorithm

2008-02-11 Thread Murray Jorgensen
. useful although it takes a Bayesian rather than EM approach. Cheers, Murray -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email: [EMAIL PROTECTED]Fax 7 838 4155 Phone

[R] Reading R-help Digests with Mozilla Thunderbird

2007-11-01 Thread Murray Jorgensen
in a message. [I'm using Windows XP]. Does anyone know how to turn off this Thunderbird feature? Also what would be the best way to raise this problem with the Thunderbird developers? Cheers, Murray Jorgensen -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department