| To: | <s-news@wubios.wustl.edu> |
|---|---|
| Subject: | SUMMARY: S-PLUS Vs some other softwares |
| From: | "Pravin" <jadhavpr@vcu.edu> |
| Date: | Tue, 2 Mar 2004 13:58:40 -0500 |
| Importance: | Normal |
| In-reply-to: | <04C15615C183B043A3D804C5B989844B076D19D4@cdsx08.cder.fda.gov> |
|
Thank
you very much for all the comments!
Fortunately/Unfortunately there was no suggestion to switch to some other
software. Finally,,,, S-PLUS did the job.
Compared to the use of for() loop---see below---these functions help
to surpass annoyingly lengthy loops.
Solution 1: results<- by(data.ram,data.ram$sub,function(ppr)(lsfit(ppr$x.var,ppr$y.var)$coef)[2]
)
Time = 19
mins, Job done!
Solution 2: use of "lmList"
Might work but it looked like I am limited by
hardware configuration. I was surprised to see memory requirements for
S-PLUS.
Computer ran into error- "Unable to obtain requested
dynamic memory"
Here
are my computer details: HP Notebook PC Intel(R), Pentium(R) 4-- CPU 2.00 GHZ,
256MB RAM and OS-WinXP
But I
am certain that it would work for some other case, this is what I gathered after
reading its documentation.
Keep
in mind, this dynamic memory includes paged memory as well(over and above RAM)
because there was windows error message about limited memory in addition to the
mentioned SPLUS error. Solution 3: use of "lm.fit.qr"
Again
documentation explains possible application in such cases. I didn't
implement because it was not easy to write i subscript due to variable number of
data points/patient (varying between 5 to 9). But can find its application
in some other case.
Pravin Pravin Jadhav
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Summary: How to find the dates?, Peng Huang |
|---|---|
| Next by Date: | Course in Toronto***R/Splus Programming Techniques, April 15-16, 2004, elvis |
| Previous by Thread: | Re: S-PLUS Vs some other softwares, Patrick Burns |
| Next by Thread: | Re: S-PLUS Vs some other softwares, Tim Hesterberg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |