search for: ypeng

Displaying 15 results from an estimated 15 matches for "ypeng".

Did you mean: peng
2002 Nov 24
1
unif_rand() and exp_rand()
...allowed to have zero values. Does anybody encounter similar problem? Paul. -- What one believes to be true either is true or becomes true. -- John Lilly o-----------------------------------------------------------------o Paul Y. Peng, PhD Web: www.math.mun.ca/~ypeng Department of Mathematics and Statistics Fax: (709) 737 3010 Memorial University of Newfoundland Phone: (709) 737 8080 St. John's, NL A1C 5S7, Canada E-mail: ypeng at math.mun.ca o-----------------------------------------------------------------o -.-.-.-.-.-.-.-.-.-.-.-.-....
2002 Aug 27
2
Peter Dalgaard's book availability....
Dear List, Does anyone know when will be available Peter Dalgaard's book: "Introductory Statistics with R" ?. According to Amazon: "This item will be published on August 15, 2002", but it continues unpublised. Thanks, Carlos Ortega. _______________________________________________________________ Yahoo! Messenger Nueva versi?n: Webcam, voz, y mucho m?s ?Gratis!
1999 Jul 23
1
lapply( *, names) -- bug ?!
...ly(c(a=1,b=2), names) Problem: R ("all" versions) behaves the same as S+5.1, which is wrong IMO. {since some might disagree, I didn't yet post to R-bugs ..} ------- Start of forwarded message ------- Date: Thu, 22 Jul 1999 23:14:57 -0230 From: "Paul Y. Peng" <ypeng@math.mun.ca> To: s-news <s-news@wubios.wustl.edu> Subject: [S] Feature or bug? In S-PLUS 3.3 (DEC Alpha) and S-PLUS 2000, > z <- c("a"=1, "b"=2) > lapply(z, function(x)names(x)) $a: [1] "a" $b: [1] "b" But in S-PLUS 5.1 (Linux), > z...
2003 Oct 31
2
Summing elements in a list
Hi, Suppose that I have a list where each component is a list of two matrices. I also have a vector of weights. How can I collapse my list of lists into a single list of two matrices where each matrix in the result is the weighted sum of the corresponding matrices. I could use a loop but this is a nested calculation so I was hoping there is a more efficient way to do this. To help clarify,
2002 Apr 02
4
Two R sessions?
Hi R users, I am still a relatively new R user migrated from S+. I wonder in R how do you handle one difference between R and S+. S+ saves objects as different files in .Data directory while R saves all objects in a big file .RData. In S+, I can start two S+ sessions from the same directory and work simultaneously as long as new objects in the two sessions are not in the same names. This is
2009 May 13
1
Mixture of survivals or cure models
Dear All, I am desperately trying to find any R package that fits a mixture survival models also know as a cure models. This are survival model where the survival function is improper which also means that a fraction of subjects are expected not to expreience the event. A Huge literature has been developed for thes type of models but I couldn't find any R package that fits this type of
2002 Oct 22
1
Re: [S] Draw ellipses in S-PLUS or R?
...Not sure whether it will work in S-PLUS or not. But I will give it a try. Thank you. Paul. > > Have you checked CRAN? There's an "ellipse" package on CRAN for quite a > while. > > Andy > > > -----Original Message----- > > From: Paul Y. Peng [mailto:ypeng at math.mun.ca] > > Sent: Tuesday, October 22, 2002 3:30 PM > > To: s-news; r-help at stat.math.ethz.ch > > Subject: [S] Draw ellipses in S-PLUS or R? > > > > > > Dear S-PLUS/R users: > > > > Do you know any default function or a user contributed func...
2002 Oct 22
2
Draw ellipses in S-PLUS or R?
Dear S-PLUS/R users: Do you know any default function or a user contributed function that can draw an ellipse with given axes and origin? Thanks for any help. Paul. -- Romance, like alcohol, should be enjoyed, but should not be allowed to become necessary. -- Edgar Friedenberg -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list --
2002 Dec 22
1
lgamma(-0.8)=?
Dear R users: I wonder anyone is aware of such a thing from lgamma() > lgamma(-0.8) [1] 1.747207 I thought it should be NA as in S-PLUS. Both R-1.3.1 and R-1.5.1 report this result. I don't have the latest R-1.6.1 so I don't know whether this is corrected or not. Happy holidays, Paul.
2003 Mar 03
1
Use Rterm in rxvt for Cygwin?
Dear R users, Does anyone notice that Rterm.exe does not work well with rxvt.exe, an xterm emulator for Cygwin? It produces an error message window with the following message: This program has performed an illegal operation and will be shut down. If the problem persists, contact the program vendor It also prints "Signal 127" in rxvt window. Rterm --ess, however, works.
2006 Aug 11
1
rpvm/snow packages on a cluster with dual-processor machines
Hi, does anybody know how to use the dual processors in the machines of a cluster? I am using R with rpvm and snow packages. I usually start pvm daemon and add host machines first, and then run R to start my computing work. But I find that only one processor in each machine is used in this way and the other one always stays idle. Is there any simple way to tell pvm to use the two processors at
2004 May 24
1
Cannot call R's ISNAN() from a C code in >1.7 versions.
Dear R users, Have you experienced any difficulty in calling R's ISNAN() from a C code? I have C codes including ISNAN() calls and they worked well until I upgraded my R from 1.7 to later versions. When I tried to compile the codes in the version 1.8 and 1.9, I got error messages like this: test.obj : error LNK2001: unresolved external symbol _isnan .\testR.dll : fatal error LNK1120: 1
2002 Aug 21
0
Tenure track positions in Statistics
This email is forwarded on behalf of Dr. Herbert Gaskill. Please do not reply to me but direct enquiries to Ms Wanda Heath <wanda at math.mun.ca> or Dr. Herbert Gaskill <head at math.mun.ca>. Apologies for cross-posting. MEMORIAL UNIVERSITY OF NEWFOUNDLAND St. John's, Newfoundland, Canada A1C 5S7 www.math.mun.ca DEPARTMENT OF MATHEMATICS AND STATISTICS The Department of
2003 May 14
1
savehistory not working properly in R?
Dear R users, I have a .RData which contains .Last object as follows: .Last <- function () { savehistory(file = ".Rhistory") } In this directory, if I issue the following command Rterm --save < mycmds.q to execute commands in mycmds.q and to save results in .RData, I got the following error message towards the end of the execution: Error in savehistory(file) :
2001 Jun 01
1
Questions from a beginner.
I have used S-PLUS for years. Now I am learning to use R in Windows'98. I downloaded the latest version and installed it as instructed. However, I cannot find answers from online help to the following questions I encountered. If any of you has quick answers to these questions, please drop me a couple of lines. Thanks. 1. Why does R change my working directory during a session? I often used