Re: [R] r syntax

2013-04-28 Thread John Kane
Note that Rui used 1L and 2L to give you integers. If he had used 1 and 2 you would have gotten real numbers. John Kane Kingston ON Canada > -Original Message- > From: ruipbarra...@sapo.pt > Sent: Sat, 27 Apr 2013 23:57:30 +0100 > To: inf...@gmail.com > Subject: R

Re: [R] r syntax

2013-04-27 Thread Bert Gunter
But there is almost certainly no need to do this in the first place! -- Bert On Sat, Apr 27, 2013 at 3:57 PM, Rui Barradas wrote: > Hello, > > You should provide us with a data example. > > In the following, the two solutions are completely different but both of > them do what you want. Note tha

Re: [R] r syntax

2013-04-27 Thread Rui Barradas
Hello, You should provide us with a data example. In the following, the two solutions are completely different but both of them do what you want. Note that the second creates a factor variable, whose levels are coded as integers. See R-intro.pdf in your doc directory, chapter 4 Ordered and un

[R] r syntax

2013-04-27 Thread sgs sys
Hi i want to recode Male =1 and female =2 in R what is the syntax for same ? thanks Sameer [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the po

[R] R syntax for 95% prediction interval on a left-truncated normal variable

2011-01-12 Thread Fabio Colombo
Hi all, I am searching for a R procedure to calculate a 95% prediction interval (i.e. the interval in which following observations of the variable will occur, not a confidence interval) on a variable that is the natural logarithm of a ratio that is always equal ore superior to 1, so the natural-lo

Re: [R] R syntax, space smaller than space

2008-05-20 Thread Uwe Ligges
Duncan Murdoch wrote: On 5/20/2008 6:52 AM, Torsten Wiebke wrote: Hallo, does nobody have an answer? I changed something in the package "climatol" especially in the function "diagwl". Dos anybody know where I can put the code in the Internet to discuss it? I put it to: http://de.pastebin.ca/

Re: [R] R syntax, space smaller than space

2008-05-20 Thread Duncan Murdoch
On 5/20/2008 6:52 AM, Torsten Wiebke wrote: Hallo, does nobody have an answer? I changed something in the package "climatol" especially in the function "diagwl". Dos anybody know where I can put the code in the Internet to discuss it? I put it to: http://de.pastebin.ca/1023676 It would be kind

Re: [R] R syntax, space smaller than space

2008-05-20 Thread Torsten Wiebke
Hallo, does nobody have an answer? > I changed something in the package "climatol" especially in the > function "diagwl". Dos anybody know where I can put the code in the > Internet to discuss it? I put it to: http://de.pastebin.ca/1023676 It would be kind if someone can have a look what is to make

[R] R syntax, space smaller than space

2008-05-19 Thread Torsten Wiebke
Hi, I changed something in the package "climatol" especially in the function "diagwl". Dos anybody know where I can put the code in the Internet to discuss it? I made from "C" for gradcelsius "°C" with: unit <- list( temp = expression (paste(#"T ", degree,"C")) ) mtext(unit$temp ,2,col=tc