I found Reservoir-Sampling algorithms of time complexity O(n(1+log(N/n))) by
Kim-Hung Li , ACM Transactions on Mathematical Software Vol 20 No 4 Dec 94
p481-492.
He mentions algorithm Z and K and proposed 2 improved versions alg L and M.
Algorith L is really easy to implement but relatively slow, M
Hello, using R2.1.1 in Win XP
I have data in the format
..
ID , DateOfEntry, Drug0, DateVisit1, Drug1, DateVisit2, Drug2, DateOfDeath
..
The DateOfDeath can be 999 if the patient is still alive at end of study.
The number of visits can be 2, 3 or 4 per patient
I want to do a time varying Cox analys
R friends,
I am using R 2.1.0 in a Win XP . I have a problem working with lists, probably I
do not understand how to use them.
Lets suppose that a set of patients visit a clinic once a year for 4 years
on each visit a test, say 'eib' is performed with results 0 or 1
The patients do not all visit
Hello,
Running R 2.1.0 in a Win XP
I put the snipped to automatically update my libraries on Tuesdays that was
presented to the list some time back, It worked with no problem for R 2.0.1 but
now that I installed R 2.1.0 and copy the old Rprofile to the new r/etc I get
an error.
This is my Rprofile:
Thanks to all who answered my query, I forgot completely to call methods() first
to check the true whole name of the function.
Heberto Ghezzo
Quoting Uwe Ligges <[EMAIL PROTECTED]>:
> Simon Wood wrote:
>
> > stats:::kruskal.test.default
>
>
> and how to get there:
>
> methods(kruskal.test) # note
I am using R 2.0.2 on a WinXP
I am trying to get the code of the Kruskal-Wallis test but
> kruskal.test
function (x, ...)
UseMethod("kruskal.test")
> ls(3)
[1] "acf" "acf2AR" "add.scope"
..
[181] "kruskal.test" "ks.test" "ksmooth"
Follow up on my previous e-mail
I am using Affys nzwC etc. are single columns vectors length 12000
then nzw,akr,bas are 12000 by 6 matrices
Thanks again for any help, now I resend the e-mail to Gordon with the correct
address I hope.
Heberto Ghezzo
McGill - Canada
_
I try to send this message To Gordon Smyth at [EMAIL PROTECTED],edu.au but it
bounced
back, so here it is to r-help
I am trying to use limma, just downloaded it from CRAN. I use R 2.0.1 on Win XP
see the following:
> library(RODBC)
> chan1 <- odbcConnectExcel("D:/Data/mgc/Chips/Chips4.xls")
> dd
Hello, I am trying to compile packages for R2.0.0 patch in a win XP machine.
Most of the packages compile without problems, with C or FTG or only R.
Now some packeges give the following error which I do not understand how to
correct
...
preparing package xxx for lazy loading
Error in "names <- .de
Hello, I am trying to get my old packages to work in R 2.0.0
in Windows XP. Here is what I did
Etc is a package of pure R functions
Rcmd INSTALL -l c:/R/R_Src/library C:/R/R_Src/src/Etc
-Making package Etc -
adding build stamp to DESCRIPTION
installing R files
instal
Hello,
I just installed R 2.0.0 in a Win XP machine. As old programs do not wor I tried
to re-install them by:
>C:\R\RW2000\bin>Rcmd INSTALL c:\r\r_src\src\autologi
>
>--Making package autologi --
> adding build stamp to DESCRIPTION
> installing R files
> installing data
11 matches
Mail list logo