search for: kwan022

Displaying 20 results from an estimated 193 matches for "kwan022".

2002 Apr 15
1
Re: Writting R Function
Hi, I think I found the problem. It lies in my Fortran program. Is there a way, after a DO loop, to make sure it does NOT return anything? Cheers, Kevin On Mon, 15 Apr 2002, Ko-Kang Kevin Wang wrote: > Date: Mon, 15 Apr 2002 17:27:20 +1200 (NZST) > From: Ko-Kang Kevin Wang <kwan022 at stat1.stat.auckland.ac.nz> > To: R Help <r-help at stat.math.ethz.ch> > Subject: Writting R Function > > Hi, > > Suppose I have a function as below: > Fibonacci <- function(n, all = T) { > .Fortran("fibonacci", > ans = as....
2002 May 06
4
Subtitle?
...r, but it adds sub-title to the bottom of the plot. Cheers, Kevin ------------------------------------------------------------------------------ Ko-Kang Kevin Wang Postgraduate PGDipSci Student Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 E-mail: kwan022 at stat.auckland.ac.nz -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not th...
2002 May 18
5
Length of a string
...I do it? I tried: length(foo) but it returned 1. Cheers, Kevin ------------------------------------------------------------------------------ Ko-Kang Kevin Wang Postgraduate PGDipSci Student Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 E-mail: kwan022 at stat.auckland.ac.nz -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not th...
2002 Sep 18
2
More on list to data frame (was: Re: List to Data Frame
...)) Is it possible to do this, without doing unlist(FOO[[i]]) 25 times? Cheers, Kevin On Fri, 23 Aug 2002, Patrick Connolly wrote: > Date: Fri, 23 Aug 2002 17:02:37 +1200 > From: Patrick Connolly <p.connolly at hortresearch.co.nz> > To: Ko-Kang Kevin Wang <kwan022 at stat.auckland.ac.nz> > Subject: Re: [R] List to Data Frame > > On Fri, 23-Aug-2002 at 01:35PM +1200, Ko-Kang Kevin Wang wrote: > > |> Hi, > |> > |> Suppose I have two lists. The first list is called FOO while the second > |> is called FRED. > |>...
2002 Jun 08
2
More on for() Loop...
...r example. But I'm not sure how to do this... Cheers, Kevin ------------------------------------------------------------------------------ Ko-Kang Kevin Wang Postgraduate PGDipSci Student Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 E-mail: kwan022 at stat.auckland.ac.nz -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not th...
2002 May 10
1
barplot()
...worked. But the x-axis doesn't appear right... Cheers, Kevin ------------------------------------------------------------------------------ Ko-Kang Kevin Wang Postgraduate PGDipSci Student Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 E-mail: kwan022 at stat.auckland.ac.nz -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not th...
2003 Nov 26
4
strptime Usage
...------------------------------ "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 x88475 (City) x88480 (Tamaki)
2002 Sep 23
4
Overall Title in par(mfrow)
...;t be seen... Is there another way to achieve this? Cheers, Kevin ------------------------------------------------------------------------------ Ko-Kang Kevin Wang Postgraduate PGDipSci Student Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at sta...
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
2003 Dec 15
3
Julian Dates
...heers, 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://www.stat.auckland.ac.nz/~kwan022 Ph: 373-7599 x88475
2002 May 06
3
Using Object's Name in Function
...but I'd like to use it for debugging purposes. Cheers, Kevin ------------------------------------------------------------------------------ Ko-Kang Kevin Wang Postgraduate PGDipSci Student Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 E-mail: kwan022 at stat.auckland.ac.nz -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not th...
2002 Sep 19
2
R 1.6 for windows?
...>R 1.6.0 for windows? There's nothing urgent about it, I have one. >The question is how to identify a distribution URL if one exists. I will be building and distributing the final release. Kevin Wang has been building snapshots and posting them at <http://www.stat.auckland.ac.nz/~kwan022/rinfo.php> Since I'm going to be out of town from Sept 25 to Oct 1, and I'm busy preparing for that trip, I haven't been posting snapshots. If there's a demand for them and Kevin has to stop, I could do so up to the 25th, but not easily after that. The final release will be po...
2003 Mar 26
2
Plotting K-M Curve when have several strata
...--------------------------------------- /* 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) x88480 (Tamaki)
2001 May 14
0
Re: s+
Well, R is not S+ nor SPSS. Although it is sort of similar to S+ in terms of how you use it... You can get it from http://cran.r-project.org/ To know more about what it really is, you can get my PowerPoint presentation from: http://www.stat.auckland.ac.nz/~kwan022/pub/R/Introduction/ or and article I wrote from: http://www.stat.auckland.ac.nz/~kwan022/pub/SDK/SAD/Journal/ If you're a Windows user, you may want to take a look at the R for Windows trick that I wrote: http://www.stat.auckland.ac.nz/~kwan022/pub/R/RTricks.zip Cheers, Ko-Kang Kevin Wang &...
2002 Jul 03
0
R Guide for Windows Users
I've just completed(?) an R Guide for Windows users. It was extended from my "Compile R for Windows" that I put up a few months ago. To get it go to http://www.stat.auckland.ac.nz/~kwan022/rinfo.php Here is the table of contents: 1 Introduction 2 Installation 2.1 Installing R Base 2.2 Installing packages 3 Running R 3.1 Rgui 3.2 Rcmd 3.3 Rterm 4 Comile R Source 4.1 Preparation 4.2 Set PATH Variable 4.2.1 Windows 9x 4.2.2 Windo...
2003 Mar 26
2
ifelse()
...--------------------------------------- /* 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) x88480 (Tamaki)
2002 Apr 09
1
Fortran (77) in R
...it mean ;-( Any help will be greatly appreciated! Cheers, Kevin ------------------------------------------------------------------------------ Ko-Kang Kevin Wang Postgraduate PGDipSci Student Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 E-mail: kwan022 at stat.auckland.ac.nz -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not th...
2003 Nov 17
3
S Programming
Dear all, I am thinking of writing my own functions in s-plus (or in R). I just know how to work with S-plus / R built-in functions. Therefore, I'm a beginner in S programming. I am looking for some on-line documentation that is well written about "Programming in S language" where control stuctures / loops / vectorization and necessery sequences of S programming are
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
2002 Sep 19
2
Rounding
...Is there any tricks I can use to achieve this goal? Cheers, Kevin ------------------------------------------------------------------------------ Ko-Kang Kevin Wang Postgraduate PGDipSci Student Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at sta...