Re: [R] TeX distribution on Windows

2005-09-05 Thread Ko-Kang Kevin Wang
for years and have never had any problems. Its Update Wizard also has a nice and intuitive user interface. I've never had any problems using it with R. Cheers, Kev -- Ko-Kang Kevin Wang PhD Student Centre for Bioinformation Science Building 27, Room 1004 Mathematical Sciences Institute (MSI

Re: [R] TeX distribution on Windows

2005-09-05 Thread Ko-Kang Kevin Wang
/~dethlef/Tips/ Cheers, Kev -- Ko-Kang Kevin Wang PhD Student Centre for Bioinformation Science Building 27, Room 1004 Mathematical Sciences Institute (MSI) Australian National University Canberra, ACT 2601 Australia Homepage: http://wwwmaths.anu.edu.au/~wangk/ Ph (W): +61-2-6125-2431 Ph (H): +61-2

Re: [R] graphics guide?

2005-09-27 Thread Ko-Kang Kevin Wang
plot.new() before every new plot command, I have however not found any Do you mean several graphs in the same window? If so, you want something like, e.g.: par(mfrow = c(2, 2)) Take a look at ?par and the mfrow or mfcol options. Cheers and HTH, Kev -- Ko-Kang Kevin Wang PhD Student Centre

Re: [R] Binary Logit Regression with R

2005-09-29 Thread Ko-Kang Kevin Wang
Hi, Johann Park wrote: Let say, my Y is war occurence (occur=1, otherwise 0). And my independent variables (Xs) are trade, democracy, military poweretc. Take a look at ?glm. HTH, Kev -- Ko-Kang Kevin Wang PhD Student Centre for Bioinformation Science Building 27, Room 1004

Re: [R] there is no xls reader in R?

2006-04-20 Thread Ko-Kang Kevin Wang
]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Ko-Kang Kevin Wang Homepage: http://wwwmaths.anu.edu.au/~wangk/ Ph (W): +61-2-6125

[R] ts() objects in R

2004-05-04 Thread Ko-Kang Kevin Wang
Does anyone know why this is happening? diff.prop[1:5] 1 2 3 4 5 -0.6323988 -0.5226586 -0.5605096 -0.6656347 -0.6011561 ts(diff.prop, start = c(1997, 11), frequency = 1) Time Series: Start = 2007 End = 2125 Frequency = 1 [snip] diff.prop is a

Re: [R] ts() objects in R

2004-05-04 Thread Ko-Kang Kevin Wang
Hi, - Original Message - From: Uwe Ligges [EMAIL PROTECTED] I think you mean ts(diff.prop, start = c(1997, 11), frequency = 12) Whoops, indeed..thanks! That was a stupid question *_* kevin Wang __ [EMAIL PROTECTED] mailing list

RE: [R] how to get data and post it on R

2004-05-15 Thread Ko-Kang Kevin Wang
Ko-Kang Kevin Wang, MSc(Hon) SLC Stats Workshops Co-ordinator The University of Auckland New Zealand __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http

RE: [R] cameraa rotation graphics

2004-06-03 Thread Ko-Kang Kevin Wang
is there something that is open source that does this. Do you mean Daniel Adler's rgl (http://wsopuppenkiste.wiso.uni-goettingen.de/~dadler/) or the Ggobi/Rggobi http://www.ggobi.org/? Kevin Ko-Kang Kevin Wang, MSc(Hon) SLC Stats Workshops Co-ordinator

Re: [R] rpart

2004-06-04 Thread Ko-Kang Kevin Wang
Hi, I think most, if not all, your questions can be answered by: 1) ?rpart 2) Some search through the r-help mailing list 3) Read the chapter on tree-based models in MASS 4 (Modern Applied Statistics with S) by Venables and Ripley Kevin - Original Message - From: [EMAIL PROTECTED]

[R] How to Describe R to Finance People

2004-06-04 Thread Ko-Kang Kevin Wang
in mentioning it in her talk. I have never had experience of trying to introduce R to non-Scientists, hence I would appreciate any comments! Cheers, Kevin Ko-Kang Kevin Wang, MSc(Hon) SLC Stats Workshops Co-ordinator The University of Auckland New

Re: [R] Reading in Files (was: no subject)

2004-06-08 Thread Ko-Kang Kevin Wang
Please use a more appropriate subject! - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 8:25 PM Subject: [R] (no subject) Hi!! I am a new user of R (just trying to analysis microarrays with some packages from the bioconductor project).

[R] Table to Data Frame

2004-06-10 Thread Ko-Kang Kevin Wang
[Forwarding on behalf of a colleague] She's got a list with several tables: tab - list() for(i in 1:6) { + tab[[i]] - table(freq[i]) + } tab [[1]] 0 0.17 0.3 0.51 2.534 1962515252 [[2]] 0 0.17 0.31 2.534 199136

Re: [R] How to Describe R to Finance People

2004-06-10 Thread Ko-Kang Kevin Wang
Thank you very much to those who contributed to this rather interesting discussion/debate. I was very surprised (and almost overwhelmed) by the volume of replies based on this topic! I have prepared some slides and put the draft version on www.stat.auckland.ac.nz/~kwan022/tmp/RFin.ppt. Feel

RE: [R] load function to R GUI

2004-06-14 Thread Ko-Kang Kevin Wang
Hi, -Original Message- From: [EMAIL PROTECTED] Hi all! I looked through the manual and FAQ, and did not find any information on how to load functions from files (with .R extension) to run them in R GUI under Windows. The only way I know is to create and edit a function inside GUI.

[R] Date Calculation

2004-06-17 Thread Ko-Kang Kevin Wang
. I'm sure it has been asked before however a search on r-help didn't found me any relevant information *_*. Cheers, Kevin Ko-Kang Kevin Wang, MSc(Hon) SLC Stats Workshops Co-ordinator The University of Auckland New Zealand

RE: [R] Date Calculation

2004-06-17 Thread Ko-Kang Kevin Wang
Hi, -Original Message- From: Martin Maechler [mailto:[EMAIL PROTECTED] Kevin, [[did you have tough day? usually your Q/A are much better ;-()]] Thanks to those who have replied, and yes shame on me.. [I also realised I can just use Sys.Date() to get today's date, instead

RE: [R] setwd problems

2004-06-21 Thread Ko-Kang Kevin Wang
:\\BACC_R) HTH Kevin Ko-Kang Kevin Wang, MSc(Hon) SLC Stats Workshops Co-ordinator The University of Auckland New Zealand __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] legend

2004-06-23 Thread Ko-Kang Kevin Wang
Hi, - Original Message - From: Perez Martin, Agustin [EMAIL PROTECTED] To: lista R help (E-mail) [EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 9:19 PM Subject: [R] legend DeaR UseRs: I want to put a legend in my plot. In the first line of the legend I want to put a box filled

Re: [R] help in importing data

2004-06-24 Thread Ko-Kang Kevin Wang
Hi, Try read.csv() i.e. take a look at ?read.csv HTH Kevin - Original Message - From: Jose Sanchez [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Sent: Friday, June 25, 2004 10:38 AM Subject: [R] help in importing data hi, i was wondering if you can give me an

Re: [R] how to make a plot without any axis-labeling

2003-08-03 Thread Ko-Kang Kevin Wang
wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student

Re: [R] Memory-problem?

2003-08-11 Thread Ko-Kang Kevin Wang
. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- 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

Re: [R] problems with lda , data included, can somebody test withthe new version

2003-08-14 Thread Ko-Kang Kevin Wang
://rinkworks.com/stupid/ -- 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

Re: [R] Princomp function in R

2003-08-14 Thread Ko-Kang Kevin Wang
. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- 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

Re: [R] default directory RGui for windows NT

2003-08-14 Thread Ko-Kang Kevin Wang
, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master

Re: [R] Books for R

2003-08-14 Thread Ko-Kang Kevin Wang
into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc

Re: [R] Crosstabs

2003-08-14 Thread Ko-Kang Kevin Wang
) From Computer Stupidities: http://rinkworks.com/stupid/ -- 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

Re: [R] How to reinstall rpart?

2003-08-15 Thread Ko-Kang Kevin Wang
Computer Stupidities: http://rinkworks.com/stupid/ -- 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

Re: [R] Neural Networks in R

2003-08-20 Thread Ko-Kang Kevin Wang
such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- 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

Re: [R] R tools for large files

2003-08-25 Thread Ko-Kang Kevin Wang
. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- 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

Re: [R] selecting by variable

2003-08-27 Thread Ko-Kang Kevin Wang
(1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- 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

Re: [R] Re: diamond graphs and patents

2003-08-28 Thread Ko-Kang Kevin Wang
into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc

Re: [R] subtract 2 columns in a data.frame

2003-09-04 Thread Ko-Kang Kevin Wang
not able to rightly apprehend the kind of confusion of ideas that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department

Re: [R] documents for writing functions

2003-09-04 Thread Ko-Kang Kevin Wang
of ideas that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http

Re: [R] Sorting

2003-09-11 Thread Ko-Kang Kevin Wang
am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department

RE: [R] CART analysis

2003-09-17 Thread Ko-Kang Kevin Wang
to rightly apprehend the kind of confusion of ideas that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University

Re: [R] xgobi vs ggobi

2003-09-22 Thread Ko-Kang Kevin Wang
Stupidities: http://rinkworks.com/stupid/ -- 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

Re: [R] truncating axis

2003-10-01 Thread Ko-Kang Kevin Wang
of ideas that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http

Re: [R] r editors

2003-10-02 Thread Ko-Kang Kevin Wang
-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) __ [EMAIL

Re: [R] (no subject)

2003-10-02 Thread Ko-Kang Kevin Wang
/stupid/ -- 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

Re: [R] Managing memory on R

2003-10-16 Thread Ko-Kang Kevin Wang
to upgrade your R version first? R 1.3.1 is kind of old now.. -- Cheers, Kevin --- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http

Re: [R] interactive prompts

2003-10-20 Thread Ko-Kang Kevin Wang
) system(read) par(ask = TRUE) will do what you want. -- Cheers, Kevin --- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http

Re: [R] interactive prompts

2003-10-20 Thread Ko-Kang Kevin Wang
On Tue, 21 Oct 2003, Ko-Kang Kevin Wang wrote: On Tue, 21 Oct 2003, Ernie Adorio wrote: Am using R on a Linux box and am currently writing an interactive R script. 1. How do I ask a user to press any key to continue ? I used a system call to read but this only works if the Enter key

Re: [R] questions about axis

2003-10-22 Thread Ko-Kang Kevin Wang
= This is my x-label, line = -2) Of course, this is just a silly example, with 50 uniform random numbers between -0.2 and 0.2. But you get the idea... -- Cheers, Kevin --- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor

Re: [R] comments and Sweave

2003-10-22 Thread Ko-Kang Kevin Wang
--- 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

Re: [R] Complete Newbie Q

2003-10-26 Thread Ko-Kang Kevin Wang
--- 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

Re: [R] interfacing C into R and R packages

2003-11-04 Thread Ko-Kang Kevin Wang
://www.stat.math.ethz.ch/mailman/listinfo/r-help -- Cheers, Kevin --- 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

Re: [R] Two Y-axises and One X-axis

2003-11-07 Thread Ko-Kang Kevin Wang
) # x-axis at the bottom axis(2) # y-axis on the left axis(4) # y-axis on the right -- Cheers, Kevin --- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University

Re: [R] y label after axis (4)

2003-11-07 Thread Ko-Kang Kevin Wang
/2.205, lab = Wt.lbs, srt = 90) mtext(Weight (lb), side = 4, line = 3) par(oldpar) # restore settings detach() Note that you can also get the above codes from $R_HOME/library/MASS/scripts/ch08.R. -- Cheers, Kevin --- Ko-Kang

Re: [R] Program Saving

2003-11-13 Thread Ko-Kang Kevin Wang
Ligges, for WinEdt). Both allows direct communication from the editor to R HTH. -- Cheers, Kevin --- Try not. Do, do! Or do not. There is no try Jedi Master Yoda Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor

Re: [R] read.table(..)..Help?

2003-11-20 Thread Ko-Kang Kevin Wang
--- Try not. Do, 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

Re: [R] reading data rows

2003-11-20 Thread Ko-Kang Kevin Wang
--- Try not. Do, 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

[R] strptime Usage

2003-11-25 Thread Ko-Kang Kevin Wang
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

RE: [R] strptime Usage

2003-11-30 Thread Ko-Kang Kevin Wang
.: 1999-1 1999-2 1999-3 1999-4 is it possible to do with strptime? Or do I have to do something creative? ;-D -- Cheers, Kevin --- Try not. Do, do! Or do not. There is no try Jedi Master Yoda Ko-Kang Kevin Wang Master

[R] Julian Dates

2003-12-15 Thread Ko-Kang Kevin Wang
Jedi Master Yoda Ko-Kang Kevin Wang, MSc SLC STATS 10x Workshop Coordinator University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 Ph: 373-7599 x88475 __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch

Re: [R] Julian Dates

2003-12-15 Thread Ko-Kang Kevin Wang
(TIMESOLD,TIMESOLD2) -- Cheers, Kevin --- Try not. Do, do! Or do not. There is no try Jedi Master Yoda Ko-Kang Kevin Wang, MSc SLC STATS 10x Workshop Coordinator University of Auckland New Zealand Homepage: http

Re: [R] Getting graphs into LaTeX

2002-12-19 Thread Ko-Kang Kevin Wang
Ko-Kang Kevin Wang Master of Science (MSc) Student Department of Statistics University of Auckland New Zealand www.stat.auckland.ac.nz/~kwan022 __ [EMAIL PROTECTED] mailing list

Re: [R] how could I add legends?

2003-01-26 Thread Ko-Kang Kevin Wang
distribution. Could someone help me? Thanks, Have a look at ?legend Kevin Ko-Kang Kevin Wang Master of Science (MSc) Student Department of Statistics University of Auckland New Zealand www.stat.auckland.ac.nz/~kwan022

Re: [R] Regarding Installation of R

2003-01-30 Thread Ko-Kang Kevin Wang
. Please let know an alternative for getting the software. Which set up binary did you downloaded? It should not be corrupted. Did you download the rw1062.exe in, for example, http://cran.r-project.org/bin/windows/base ? Ko-Kang Kevin Wang Master

Re: [R] basic question

2003-02-04 Thread Ko-Kang Kevin Wang
/rinfo.php (Section 5). I'm not sure the exact contents in the labdsv_0.9-1.tar.gz , but in general you can first unpack it with, e.g.: tar zxvf labdsv_0.9-1.tar.gz then you may need: Rcmd labdsv_0.9-1 Hope this helps, Kevin Ko-Kang Kevin Wang

Re: [R] factorial function

2003-02-14 Thread Ko-Kang Kevin Wang
, Kevin Ko-Kang Kevin Wang Master of Science (MSc) Student Department of Statistics University of Auckland New Zealand www.stat.auckland.ac.nz/~kwan022 __ [EMAIL PROTECTED] mailing list http

Re: [R] exact range of axes in plots

2003-02-24 Thread Ko-Kang Kevin Wang
Hi, - Original Message - From: Jason Bond [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 8:06 AM Subject: [R] exact range of axes in plots Hello. I was wondering how one can find the exact values of the range of an axis within a plot. In xlispstat it was

Re: [R] saving a plot to a file

2003-03-03 Thread Ko-Kang Kevin Wang
, take a look at: ?png Cheers, Kevin Ko-Kang Kevin Wang Master of Science (MSc) Student Department of Statistics University of Auckland New Zealand www.stat.auckland.ac.nz/~kwan022 __ [EMAIL PROTECTED

Re: [R] How to collect the Rtools to build packages

2003-03-12 Thread Ko-Kang Kevin Wang
Ko-Kang Kevin Wang Master of Science (MSc) Student Department of Statistics University of Auckland New Zealand www.stat.auckland.ac.nz/~kwan022 __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch

Re: [R] xgobi?

2003-03-16 Thread Ko-Kang Kevin Wang
) on your machine in order to use it. Cheers, K Wang Ko-Kang Kevin Wang Master of Science (MSc) Student Department of Statistics University of Auckland New Zealand www.stat.auckland.ac.nz/~kwan022 __ [EMAIL

Re: [R] xgobi?

2003-03-17 Thread Ko-Kang Kevin Wang
-- /* Time is 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

Re: [R] Package installation when $RHOME is not writable (win)

2003-03-17 Thread Ko-Kang Kevin Wang
-- Cheers, Kevin -- /* Time is 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

Re: [R] rsync

2003-03-21 Thread Ko-Kang Kevin Wang
-- /* Time is 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

[R] ifelse()

2003-03-26 Thread Ko-Kang Kevin Wang
-levels? For example: if(x = 3) then 1 elseif(3 x = 4) then 2 elseif(x 4) then 3 -- Cheers, Kevin -- /* Time is the greatest teacher, unfortunately it kills its students */ -- Ko-Kang Kevin Wang Master of Science

[R] Re: ifelse()

2003-03-26 Thread Ko-Kang Kevin Wang
Hi, I've found a much better solution than using ifelse(). I found about cut() from MASS4 Page 383, which actually does a better job . On Wed, 26 Mar 2003, Ko-Kang Kevin Wang wrote: Date: Wed, 26 Mar 2003 23:20:04 +1200 (NZST) From: Ko-Kang Kevin Wang [EMAIL PROTECTED] To: R Help [EMAIL

Re: [R] How to list functions in a library?

2003-03-31 Thread Ko-Kang Kevin Wang
to refer to library documents (often not readily available ) to find them. Many thanks in advance. -- Cheers, Kevin -- /* Time is the greatest teacher, unfortunately it kills its students */ -- Ko-Kang Kevin Wang

[R] Sampling from a Data Frame

2003-04-04 Thread Ko-Kang Kevin Wang
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

Re: [R] Downloading packages from CRAN

2003-05-31 Thread Ko-Kang Kevin Wang
. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- 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

[R] Extracting Numbers from MANOVA output

2003-06-07 Thread Ko-Kang Kevin Wang
Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- 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

Re: [R] Basic question on applying a function to each row of adataframe

2003-06-08 Thread Ko-Kang Kevin Wang
such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- 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

Re: [R] re: question on R

2003-04-14 Thread Ko-Kang Kevin Wang
forward to your early reply. -- Cheers, Kevin -- /* Time is the greatest teacher, unfortunately it kills its students */ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department

Re: [R] Factorial function in R?

2003-06-12 Thread Ko-Kang Kevin Wang
the kind of confusion of ideas that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New

Re: [R] Problem with Rcmd SHLIB

2003-06-13 Thread Ko-Kang Kevin Wang
-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- 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

Re: Building R Packages (was: [R] (no subject)

2003-06-17 Thread Ko-Kang Kevin Wang
) From Computer Stupidities: http://rinkworks.com/stupid/ -- 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

Re: [R] install pls.pcr package

2003-06-17 Thread Ko-Kang Kevin Wang
of confusion of ideas that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage

Re: [R] Pairs with different colours

2003-06-24 Thread Ko-Kang Kevin Wang
, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor

Re: [R] lines and legend

2003-07-01 Thread Ko-Kang Kevin Wang
. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang

Re: [R] user mannual

2003-07-02 Thread Ko-Kang Kevin Wang
/stupid/ -- 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

Re: [R] how to handle missing values

2003-07-16 Thread Ko-Kang Kevin Wang
that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http

Re: [R] Rpart question - labeling nodes with something not in x$frame

2003-07-17 Thread Ko-Kang Kevin Wang
such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- 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

Re: [R] Boosting, bagging and bumping. Questions about R tools andpredictions.

2003-07-22 Thread Ko-Kang Kevin Wang
answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator

Re: [R] .ps files in R

2003-07-23 Thread Ko-Kang Kevin Wang
of confusion of ideas that could provoke such a question. -- Charles Babbage (1791-1871) From Computer Stupidities: http://rinkworks.com/stupid/ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage

RE: [R] please help me!

2004-01-29 Thread Ko-Kang Kevin Wang
put your codes here. But I'm guessing it is because you typed something like: foo = read.table(C:\MikeWeather2.txt) Try to use C:/MikeWeather2.txt or C:\\MikeWeather2.txt. HTH. Kevin Ko-Kang Kevin Wang, MSc(Hon) Statistics Workshops Co-ordinator

RE: [R] I am totally lost on how to install R . . .

2004-02-05 Thread Ko-Kang Kevin Wang
-Kang Kevin Wang, MSc(Hon) SLC Stats Workshops Co-ordinator The University of Auckland New Zealand __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting

RE: [R] PhD student reading list, suggestions wanted

2004-02-08 Thread Ko-Kang Kevin Wang
mining? Not specifically for R, but a must-have for anyone going into data mining area is The Elements of Statistical Learning: Data Mining, Inference, and Prediction, by Hastie et. al. Kevin Ko-Kang Kevin Wang, MSc(Hon) SLC Stats Workshops Co

RE: [R] PhD student reading list, suggestions wanted

2004-02-09 Thread Ko-Kang Kevin Wang
place to go. And finally, there is google;-D. HTH, Kevin Ko-Kang Kevin Wang, MSc(Hon) SLC Stats Workshops Co-ordinator The University of Auckland New Zealand __ [EMAIL PROTECTED] mailing list https

Re: [R] Printting 'for' and 'while' indices

2004-02-09 Thread Ko-Kang Kevin Wang
Quoting Marcos Sanches [EMAIL PROTECTED]: I mean, I want something like this: i-0 While(i100){ do a lot of commands print i i-i+1 } How do I print the i at each step? Is print(i) what you want? Cheers, Kevin Ko-Kang

RE: [R] Basic Help

2004-02-12 Thread Ko-Kang Kevin Wang
of my incomplete book, http://www.stat.auckland.ac.nz/~kwan022/pub/R/RBook/, has a short explanation about data structure in R. The chapter has sort of been complete (it's in the draft version) HTH, Kevin Wang Ko-Kang Kevin Wang, MSc(Hon

RE: [R] problem for installing package

2004-02-16 Thread Ko-Kang Kevin Wang
downloading them what is the step for implementing them in my library? Which operating system are you running R on? Reading the manuals might be a good start. Kevin Ko-Kang Kevin Wang, MSc(Hon) SLC Stats Workshops Co-ordinator The University

RE: [R] plot

2004-02-16 Thread Ko-Kang Kevin Wang
continuous variables and you want to draw a scatter plot, one way to do it is to use plot(). For example: plot(x, y) Take a loot at ?plot to find out how to use it. Kevin Ko-Kang Kevin Wang, MSc(Hon) Statistics Workshops Co-ordinator Student Learning Centre

RE: [R] plot

2004-02-16 Thread Ko-Kang Kevin Wang
-Original Message- From: Justin Xi ZHU [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 17, 2004 2:30 PM To: Ko-Kang Kevin Wang Subject: RE: [R] plot Hi, Thanks for your email. Result 1: 23, 234, 45, 39 corresponding to Q1, Q2, Q3 and Q4. Result 2: 123, 34, 454, 45

RE: [R] How to write efficient R code

2004-02-17 Thread Ko-Kang Kevin Wang
be to use the apply() function on a data frame instead using a loop. Avoid loops if you can. Kevin Ko-Kang Kevin Wang, MSc(Hon) SLC Stats Workshops Co-ordinator The University of Auckland New Zealand __ [EMAIL

RE: [R] R won't start

2004-02-19 Thread Ko-Kang Kevin Wang
you click? Is it Rgui or Rterm (you should double click on Rgui) Kevin Ko-Kang Kevin Wang, MSc(Hon) Statistics Workshops Co-ordinator Student Learning Centre University of Auckland New Zealand __ [EMAIL

RE: [R] (2) Questions

2004-02-23 Thread Ko-Kang Kevin Wang
have to pay for it -- of course, donations are welcome by the R Foundation ;D. Kevin Ko-Kang Kevin Wang, MSc(Hon) Statistics Workshops Co-ordinator Student Learning Centre University of Auckland New Zealand

[R] Collapsing Categorical Variables

2004-02-26 Thread Ko-Kang Kevin Wang
] == PRUDHOE LANE || STREET[i] == VIRGIL PL || STREET[i] == WILMOT ST ) st[i] - Other else st[i] - STREET[i] } But I'm sure there is a better way Kevin Ko-Kang Kevin Wang, MSc(Hon) Statistics Workshops Co-ordinator Student Learning

  1   2   >