[R] outlining data points

2011-06-04 Thread lana
Hi, I have tried numerous methods and packages, but thus far cannot seem to find a solution. I am looking to essentially draw a filled colored shape around subsets on my data points on a scatter plot where none of the shapes overlap but instead bend around each other if necessary. I finally ca

[R] vector replacement 1/0 to P/A

2009-08-18 Thread Lana Schaffer
Hi, Can someone suggest an efficient way to substitute a vector/matrix which contains 1's and 0's to P's and A's (resp.)? Thanks, Lana __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read th

[R] saving loess fit

2009-06-11 Thread Lana Schaffer
Hi, pv.lo <- loess(Affy ~ DABG, DA, span=0.2, degree=2, family="symmetric") I would like to know how to save the output from the loess fit so that I can read it again into another session of R. Can someone help me figure this out? Lana Schaffer Biostatistics/Informatics The Scr

[R] Error with "make" with R-devel

2009-02-17 Thread Lana Schaffer
ror 1 >make[4]: Leaving directory >`/lustre/people/schaffer/R-devel/src/library/base' >make[3]: *** [all] Error 2 Is there someone who can modify the Makefile so that I am able to compile R-devel? Lana Schaffer Biostatistics/Informatics The Scripps Research Institute DNA Array Co

Re: [R] error with make

2009-02-13 Thread Lana Schaffer
Peter, Isn't there a different form of cp that I can use? cp -p cp Lana -Original Message- From: Peter Dalgaard [mailto:p.dalga...@biostat.ku.dk] Sent: Friday, February 13, 2009 1:21 PM To: Lana Schaffer Cc: r-help@r-project.org Subject: Re: [R] error with make Lana Schaffer

[R] error with make

2009-02-13 Thread Lana Schaffer
make[2]: *** [Rmath.h] Error 1 make[2]: Leaving directory `/lustre/people/schaffer/R-devel/src/include' make[1]: *** [R] Error 1 make[1]: Leaving directory `/lustre/people/schaffer/R-devel/src' make: *** [R] Error 1 Lana Schaffer Biostatistics/Informatics The Scripps Research Institute DNA

[R] subset function within a function

2008-07-03 Thread Lana Schaffer
1:nLev) LIS[[i]]<- lapply(LI, subset, select=cov[[i]]) Lana Schaffer Biostatistics/Informatics The Scripps Research Institute DNA Array Core Facility La Jolla, CA 92037 (858) 784-2263 (858) 784-2994 [EMAIL PROTECTED] __ R-help@r-project.org mailing lis

[R] adding a package in Windows

2008-07-01 Thread Lana Schaffer
Hi, I am using version R2.7.0 and I have installed Rtools27.exe. Upon calling R CMD INSTALL I got this error: .../src/gnuwin32/MakePkg:1: missing separator Can someone tell me what is wrong? Lana Schaffer Biostatistics/Informatics The Scripps Research Institute DNA Array Core Facility La Jolla

[R] converting numbers to characters

2008-06-27 Thread Lana Schaffer
Hi, I need to convert numbers to characters in order to index an array when I encountered the number 10 which turned into "1e+05". Does anyone know how to get around this problem? Lana Schaffer Biostatistics/Informatics The Scripps Research Institute DNA Array Core Facility La

[R] converting numbers to characters

2008-06-27 Thread Lana Schaffer
Hi, I need to convert numbers to characters in order to index an array when I encountered the number 10 which turned into "1e+05". Does anyone know how to get around this problem? Lana Schaffer Biostatistics/Informatics The Scripps Research Institute DNA Array Core Facility La

Re: [R] alternative to matching/merge?

2008-06-17 Thread Lana Schaffer
]] separately into their own matrix, and so I am putting do.call into a loop ie. do.call(rbind,x[[i]]) to keep them separate. More elegantly I would want to put do.call into lapply but have not been successful to do this. Lana -Original Message- From: jim holtman [mailto:[EMAIL PROTECTED

Re: [R] alternative to matching/merge?

2008-06-16 Thread Lana Schaffer
Jim, Is it possible to do a do.call(rbind,d.frame) with a list like using lapply(data,func,args)? I have not successfully executed this. Lana -Original Message- From: hadley wickham [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2008 2:54 PM To: jim holtman Cc: Lana Schaffer; r-help@r

Re: [R] alternative to matching/merge?

2008-06-13 Thread Lana Schaffer
Jim, d.frame[[i]] is a list of data.frames and seqFile is a data.frame. I have coverted them to vectors/matrixes and the timing is the same as data.frame. 'index' is unique in both structures. The list is subset into data.frame/matrix structures. Lana -Original Message-

Re: [R] alternative to matching/merge?

2008-06-13 Thread Lana Schaffer
kes ~4 minutes. Thanks, Lana -Original Message- From: jim holtman [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2008 6:40 PM To: Lana Schaffer Cc: r-help@r-project.org Subject: Re: [R] alternative to matching/merge? It would be nice if you at least included the code that you are using

[R] alternative to matching/merge?

2008-06-12 Thread Lana Schaffer
efficient? Lana Schaffer Biostatistics/Informatics The Scripps Research Institute DNA Array Core Facility La Jolla, CA 92037 (858) 784-2263 (858) 784-2994 [EMAIL PROTECTED] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help