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
Kevin Wang SLC Statistics Workshops Co-ordinator Student Learning Centre University of Auckland New Zealand - This mail sent through University of Auckland http://www.auckland.ac.nz/ __ [EMAIL PROTECTED

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

RE: [R] a loop question

2004-02-27 Thread Ko-Kang Kevin Wang
haven't tried it) something like: jpeg(paste(test., i, .gif, sep = ) Ko-Kang Kevin Wang, MSc(Hon) SLC Stats Workshops Co-ordinator The University of Auckland New Zealand Ko-Kang Kevin Wang, MSc(Hon) SLC Stats

RE: [R] LME, where is the package?

2004-02-28 Thread Ko-Kang Kevin Wang
and installed the file lme4 from Crane, is this the same as lme? the problem is R still print no function named lme, how should I do. I believe you are looking for nlme package. Try to load it. Kevin Ko-Kang Kevin Wang, MSc(Hon) SLC Stats

RE: [R] Decision Trees

2004-03-09 Thread Ko-Kang Kevin Wang
Hi, -Original Message- WEKA includes a re-implementation of the ideas behind C4.5, but not C4.5. If my memory serves me right, WEKA people called this re-implementation J4.8. Kevin Ko-Kang Kevin Wang, MSc(Hon) Statistics Workshops Co

Re: [R] failure in simple calculation!!

2004-03-10 Thread Ko-Kang Kevin Wang
Ko-Kang Kevin Wang, MSc(Hon) Statistics Workshops Co-ordinator Student Learning Centre 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

Re: [R] Identifying Multicollinearity in sparse datasets

2004-03-10 Thread Ko-Kang Kevin Wang
Hi, Take a look at the car package, there is a function called vif. HTH, Kevin - Original Message - From: Briggs, Meredith M [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 11, 2004 1:43 PM Subject: [R] Identifying Multicollinearity in sparse datasets Hello Is there

RE: [R] book recommendation

2004-03-25 Thread Ko-Kang Kevin Wang
for example. Kevin Ko-Kang Kevin Wang, MSc(Hon) Statistics Workshops Co-ordinator Student Learning Centre University of Auckland New Zealand __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman

[R] Interpreting knn Results

2004-03-28 Thread Ko-Kang Kevin Wang
Hi, [I'm posting this on behalf of a colleague -- as I don't know knn myself...] How to interpret the knn() results? Tried the example codes in the documentation: data(iris3) train - rbind(iris3[1:25,,1], iris3[1:25,,2], iris3[1:25,,3]) test - rbind(iris3[26:50,,1],

RE: [R] Interpreting knn Results

2004-03-29 Thread Ko-Kang Kevin Wang
Hi, -Original Message- From: Liaw, Andy [mailto:[EMAIL PROTECTED] Maybe you should show your colleague how to access help pages in R? Right in ?knn, it says: prob: If this is true, the proportion of the votes for the winning class are returned as attribute 'prob'.

[R] Nested Loop in R

2004-04-05 Thread Ko-Kang Kevin Wang
Hi, Apologies for such a trivial question, but it has been over two years since I last used nested loops and I'm ashamed to say that I forgot how they work *_* Suppose I've the following codes: # x - round(runif(1000, 1, 6)) samp5 - vector(mode = list, length = 5) for(i in 1:5) {

Re: [R] Nested Loop in R

2004-04-06 Thread Ko-Kang Kevin Wang
Thanks for those who replied! I found out the problem. I don't need the nested loop at all. The following code would've worked (for those who're interested to know): # ## Testing CLT. pp 281 of Chance Encounters x - round(runif(1000, 1, 6)) clt - function(x, samp.no = 5, n = 5) { samp -

RE: [R] Density Estimation

2004-04-09 Thread Ko-Kang Kevin Wang
-Original Message- From: [EMAIL PROTECTED] Dear Sir/Madam; Would you please tell me what is the command that allows the estimation of the Kernel Density for some data. Thanks, ?density __ [EMAIL PROTECTED] mailing list

Re: [R] Clever R syntax for extracting a subset of observations

2004-04-11 Thread Ko-Kang Kevin Wang
selected Any suggestions on how one can do such pretty things as D[d] where D is a data frame? So I take it you want to select the 7th, 3rd, and 2nd observation (i.e. rows) from D? A data frame has two dimensions, so you need to specify the row and columns. Maybe try: E = D[d,] HTH, Kevin Wang

RE: [R] I do not achieve to install some packages

2004-04-15 Thread Ko-Kang Kevin Wang
, 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 PLEASE do read

Re: [R] Error with 1.9.0 - Invalid HOMEDRIVE

2004-04-22 Thread Ko-Kang Kevin Wang
I heard of this problem mentioned by one staff member here, but he suspected it was to do with Windows XP's patch. When the technician told us about getting the patches for Windows, Rgui started to crash. But then a few days later a new patch by Microsoft was released and after installing the

Re: [R] simple question

2005-10-22 Thread Ko-Kang Kevin Wang
na.omit() HTH, Kevin -- 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] R and LaTeX

2006-12-09 Thread Ko-Kang Kevin Wang
such processes. Does anyone out there use LaTeX and can point me in the right direction? Thanks David -- Ko-Kang Kevin Wang Ph (H): +61-2-612 57471 Ph (M): +61-40-4518301 http://wwwmaths.anu.edu.au/~wangk/personal/ __ R-help@stat.math.ethz.ch

<    1   2