search for: tamaki

Displaying 20 results from an estimated 185 matches for "tamaki".

Did you mean: gamari
2003 May 02
3
letters to numbers conversion
...;g" "h" "i" into R> simple.example.numeric [,1] [,2] [,3] [1,] 1 2 3 [2,] 4 5 6 [3,] 7 8 9 [ie "a" becomes 1, ..., "z" becomes 26] ? -- Robin Hankin, Lecturer, School of Geography and Environmental Science Tamaki Campus Private Bag 92019 Auckland New Zealand r.hankin at auckland.ac.nz tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042
2003 Feb 13
6
generic handling of NA and NaN and NULL
...lpful. try() doesn't help either: R> try(if(1==NA){print("asdf")}) Error in if (1 == NA) { : missing value where logical needed QUESTION: how to make f() not give an error under any circumstances? -- Robin Hankin, Lecturer, School of Geography and Environmental Science Tamaki Campus Private Bag 92019 Auckland New Zealand r.hankin at auckland.ac.nz tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042
2003 Mar 06
3
multiple plots and postscript()
...ce between the individual plots. The problem does not occur in quite the same way on the X11() device (why is there a difference?) What is the best way to control this aspect of the plot if I want postscript output? -- Robin Hankin, Lecturer, School of Geography and Environmental Science Tamaki Campus Private Bag 92019 Auckland New Zealand r.hankin at auckland.ac.nz tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042
2002 Dec 12
2
width and length arguments to postscript()
...ile="~/f.ps",width=5,height=5) R> contour(matrix(rnorm(100),10,10)) R> dev.off() gives axes of about 96mm by 80mm (on A4 paper). What do I have to do to get square contour plots on a postscript file? -- Robin K. S. Hankin, Lecturer, School of Geography and Environmental Science Tamaki Campus Private Bag 92019 Auckland New Zealand r.hankin at auckland.ac.nz tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042 as of: Fri Dec 13 11:07:00 NZDT 2002 This (linux) system up continuously for: 470 days, 16 hours, 49 minutes
2004 May 06
3
strptime
...1] 5 > length(times) [1] 5 > length(z) [1] 9 > which I don't. It seems that length of a POSIXlt vector (which z is), always returns 9. David Scott PS: Using 1.9.0 on linux _________________________________________________________________ David Scott Department of Statistics, Tamaki Campus The University of Auckland, PB 92019 Auckland NEW ZEALAND Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000 Email: d.scott at auckland.ac.nz Graduate Officer, Department of Statistics
2003 Mar 26
2
Plotting K-M Curve when have several strata
...the greatest teacher, unfortunately it kills its students */ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 Ph: 373-7599 x88475 (City) x88480 (Tamaki)
2005 Oct 31
2
Help with try or tryCatch
...is happening. What I can't see is how to get the computation to restart from the error and just continue through the loop. Any suggestions or pointers would be most welcome. David Scott _________________________________________________________________ David Scott Department of Statistics, Tamaki Campus The University of Auckland, PB 92019 Auckland NEW ZEALAND Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000 Email: d.scott at auckland.ac.nz Graduate Officer, Department of Statistics
2003 Apr 08
5
Help on smooth.spline?
Hey, R-listers I was recommended to try using smooth.spline function for estimating 2-Dimensinal curve given a data set. So will you please tell me where to get this R function? Or which package provides this function? Thanks for your point. Fred
2007 May 28
2
RODBC and Date/Time variables
...g is I can't read those into a MySQL table as type DATE. Can anyone offer some advice on that? Some details: Windows XP, R 2.4.1, RODBC 1.1-9, MySQL 5.0.41 Thanks in advance David Scott _________________________________________________________________ David Scott Department of Statistics, Tamaki Campus The University of Auckland, PB 92019 Auckland 1142, NEW ZEALAND Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000 Email: d.scott at auckland.ac.nz Graduate Officer, Department of Statistics Director of Consulting, Department of Statistics
2003 Mar 26
2
ifelse()
...the greatest teacher, unfortunately it kills its students */ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 Ph: 373-7599 x88475 (City) x88480 (Tamaki)
2008 Jan 27
2
[OT] Open source archive program on windows
...recall Brian Ripley mentioning one in the last year or so, but couldn't find it in the mail archives. (Searching on Ripley there is somehow not terribly useful.) Suggestions? David Scott _________________________________________________________________ David Scott Department of Statistics, Tamaki Campus The University of Auckland, PB 92019 Auckland 1142, NEW ZEALAND Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000 Email: d.scott at auckland.ac.nz Graduate Officer, Department of Statistics Director of Consulting, Department of Statistics
2007 Jun 11
1
Recoding
...options for recode functions, in the car package and in memisc, and I think in gmisc. Does anyone have any opinions on the the easiest, most reliable approach for these problems? David Scott _________________________________________________________________ David Scott Department of Statistics, Tamaki Campus The University of Auckland, PB 92019 Auckland 1142, NEW ZEALAND Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000 Email: d.scott at auckland.ac.nz Graduate Officer, Department of Statistics Director of Consulting, Department of Statistics
2008 Feb 11
4
R programming style
...ramming: http://www1.maths.lth.se/help/R/RCC/ from Henrik Bengtsson. Can anyone provide further pointers to good style? Views on Bengtsson's ideas would interest me as well. David Scott _________________________________________________________________ David Scott Department of Statistics, Tamaki Campus The University of Auckland, PB 92019 Auckland 1142, NEW ZEALAND Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000 Email: d.scott at auckland.ac.nz Graduate Officer, Department of Statistics Director of Consulting, Department of Statistics
2003 Nov 26
4
strptime Usage
...do! Or do not. There is no try" Jedi Master Yoda ---- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 Ph: 373-7599 x88475 (City) x88480 (Tamaki)
2003 May 29
2
R CMD BATCH --vanilla --slave produces unwanted lines
...he final line which looks like the output of a proc.time() call (how come this is called at all if I'm using the --vanilla flag?) How do I arrange for test.Rout to contain just a single line of four random variables? -- Robin Hankin, Lecturer, School of Geography and Environmental Science Tamaki Campus Private Bag 92019 Auckland New Zealand r.hankin at auckland.ac.nz tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042
2003 Nov 20
3
read.table(..)..Help?
Hallo, can someone please help me. I have a proplem reading a file with more that one rows. e.g I used the function: p<-read.table(file="FILENAME ", header=TRUE,sep=";") and later used the data.Frame() function. It functions when the file has only a row of variables. When I insert the second row I get an error message. How do I do this ===== ===================== Sylvie
2002 Nov 26
5
unexpected behaviour of rnorm()
...t 3.6. Do others get this? Is it an optical illusion? It can't be right, can it? Or maybe I just don't understand the good ol' Gaussian very well. anyone got an explanation? [linux redhat 7.1; R-1.6.1] -- Robin Hankin, Lecturer, School of Geography and Environmental Science Tamaki Campus Private Bag 92019 Auckland New Zealand r.hankin at auckland.ac.nz tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042 as of: Wed Nov 27 09:15:00 NZDT 2002 This (linux) system up continuously for: 454 days, 14 hours, 57 minutes -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2003 May 17
2
Regression tree
Hi everybody. I'm a new R user and i've been searching a tool for construction of regression tree... I found function "tree()" written by a certain Mr. Ripley, and seems to be just what i'm looking for, but when i try to use it in R replies me:"Object not found". So I was wandering if I should include one special library or something like that? Thanks a lot, ana
2008 Sep 25
2
How to order some of my columns (not rows) alphabetically
Hello, I have a dataframe with 9 columns, and I would like to sort (order) the right-most eight of them alphabetiaclly, i.e.: ID1 ID2 F G A B C E D would become ID1 ID2 A B C D E F G Right now, I'm using this code: attach(data) data<-data.frame(ID1,ID2,data[,sort(colnames(data)[3:9])]) detach(data) but that's not very elegant. Ideally I could specify which columns to sort and
2002 Dec 11
2
ordering x's and y's
Hello ALL: How do I get R to list all possible orderings of 2 x's and 3 y's? It should look like this (which rows appear first is unimportant): x x y y y x y x y y x y y x y x y y y x y x x y y y x y x y y x y y x y y x x y y y x y x y y y x x Thanks, ANDREW