Re: [R] Default par() options

2007-03-01 Thread Petr Klasterecky
I am no expert on these topics but currently I am solving a similar issue using the .Rprofile file and the .First function. So maybe it's enough to put .First - function(){ par(whatever you want) further instructions if neccessary } Petr Thomas Friedrichsmeier napsal(a): The following

Re: [R] Default par() options

2007-03-01 Thread Bert Gunter
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Petr Klasterecky Sent: Thursday, March 01, 2007 12:51 PM To: Thomas Friedrichsmeier Cc: [EMAIL PROTECTED] Subject: Re: [R] Default par() options I am no expert on these topics but currently I am solving

Re: [R] Default par() options

2007-03-01 Thread Thomas Friedrichsmeier
Hi Bert, On Thursday 01 March 2007 23:59, Bert Gunter wrote: I am not sure exactly what you are asking for below, I guess I'm really asking for some advanced comfort / elegance. See below. but I wonder if your query could be satisfied by the judicious use of the ... argument in a wrapper

Re: [R] default value for cutoff in gstat variogram()

2006-06-05 Thread Patrick Giraudoux
Edzer J Pebesma a écrit : Patrick Giraudoux wrote: I wonder what is the default value for the argument 'cutoff' when not specified in the variogram.formula function of gstat. Computing variogram envelops within gstat, I am comparing the results obtained with variog in geoR and variogram

Re: [R] Default lag.max in ACF

2006-03-28 Thread Spencer Graves
I don't know why the default lag.max is 10*log10(N/m) for m series. The acf help page includes the following: Author(s): Original: Paul Gilbert, Martyn Plummer. Extensive modifications and univariate case of 'pacf' by B.D. Ripley. I've copied these three

Re: [R] Default lag.max in ACF

2006-03-27 Thread Prof Brian Ripley
The default is taken from S-PLUS, so the reference is the S-PLUS manual. It is pretty similar to the recommendation of Brockwell Davis. On Mon, 27 Mar 2006, Spencer Graves wrote: I don't know why the default lag.max is 10*log10(N/m) for m series. The acf help page includes the

Re: [R] default height width of graphs

2005-09-01 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: hy all, When i plot under R it generates a 440x440px image, is it possible to modify and increase this ? What device are we talking about? See the corresponding help file, maybe starting at ?Devices Uwe Ligges thks all guillaume.

Re: [R] default family object in glm

2005-07-27 Thread Dimitris Rizopoulos
From ?glm() you get: ... Usage glm(formula, family = gaussian, data, weights, subset, na.action, start = NULL, etastart, mustart, offset, control = glm.control(...), model = TRUE, method = glm.fit, x = FALSE, y = TRUE, contrasts = NULL, ...) ... So the default family is the

Re: [R] default family object in glm

2005-07-27 Thread Prof Brian Ripley
On Wed, 27 Jul 2005, luk wrote: what is the default family object in glm? I cannot find it from the doc. It would be great if you could tell me where I should look into. Try the help page: glm(formula, family = gaussian, data, weights, subset, It

Re: [R] Default Format for Dates?

2005-06-10 Thread Gabor Grothendieck
On 6/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there anyway to preset date formats? I have a date from a cover.dbf that is shown as this: cover$FINALREPOR [1] 2003-06-24 The numeric value in cover$FINALREPOR is 12227. I'd rather not create another vector to hold the

Re: [R] Default Format for Dates?

2005-06-10 Thread Roger D. Peng
Is something like this what you want? x - as.Date(2003-06-24) format(x, %B %d %Y) or perhaps as.character(x, %B %d %Y) -roger [EMAIL PROTECTED] wrote: Is there anyway to preset date formats? I have a date from a cover.dbf that is shown as this: cover$FINALREPOR [1] 2003-06-24

Re: [R] Default Format for Dates?

2005-06-10 Thread Gabor Grothendieck
On 6/10/05, Gabor Grothendieck [EMAIL PROTECTED] wrote: On 6/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there anyway to preset date formats? I have a date from a cover.dbf that is shown as this: cover$FINALREPOR [1] 2003-06-24 The numeric value in cover$FINALREPOR

Re: [R] Default Format for Dates?

2005-06-10 Thread Gabor Grothendieck
On 6/10/05, Gabor Grothendieck [EMAIL PROTECTED] wrote: On 6/10/05, Gabor Grothendieck [EMAIL PROTECTED] wrote: On 6/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there anyway to preset date formats? I have a date from a cover.dbf that is shown as this:

RE: [R] [[-,[[ default?

2003-10-02 Thread Henrik Bengtsson
It depends, but a quick answer is that you in general should use NextMethod() as far as possible to avoid ad hoc solutions and tricky side effects. Example: x - list(a=1:10, b=base::letters); class(x) - ClassA; [[.ClassA - function(object, name) { # Here you are allowed to do something, cf.

Re: [R] default directory RGui for windows NT

2003-08-14 Thread Ko-Kang Kevin Wang
On Mon, 11 Aug 2003, Roy Werkman wrote: Can anyone tell me how to change the default directory in RGui for windows NT? I take it you mean the working directory? At least two ways: 1) Right click on the Rgui shortcut, click on Properties. Enter the path into the Starting Location (or

Re: [R] default directory RGui for windows NT

2003-08-11 Thread Prof Brian Ripley
See the rw-FAQ Q2.2. What happened when you looked in the FAQs before posting? On Mon, 11 Aug 2003, Roy Werkman wrote: Can anyone tell me how to change the default directory in RGui for windows NT? -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics,

Re: [R] Default title for hist assumes name is short

2003-07-27 Thread Uwe Ligges
Stephen Eglen wrote: On the following plot: hist(apply(cbind( runif(1000), runif(1000)), 1, function(x) {sqrt(sum(x^2))})) the title is three lines long and so has Histogram of at the start of each line of the title. This is because the definition of main in hist.default is main =

Re: [R] Default title for hist assumes name is short

2003-07-27 Thread Spencer Graves
Did you try: hist(apply(cbind( runif(1000), runif(1000)), 1, function(x) {sqrt(sum(x^2))}), main=adsf) This worked for me in both S-Plus 6.1 and R 1.7.1. hope this helps. spencer graves Stephen Eglen wrote: On the following plot: hist(apply(cbind( runif(1000), runif(1000)), 1, function(x)