hie
how do l install R packages .L'm using windows xp.plus is there a dipository
for the packages that one can browse to find out what packages are available.
thanks.
-
Be a PS3 game guru.
[[alternative HTML version deleted]]
hie
when using survdiff there are only 2 values for rho 01 but there are other
rank tests .l know l can use other values of rho (l have tried it) but then
how do l know what test is being carried out. l know there is more than 1 test
for comparing survival data
thanks
hie R users
l have the following matrix
n=20
m-matrix(nrow=n,ncol=4)
colnames(m)=c(treatmentgrp,strata,survivalTime)
for(i in 1:n)
m[i,]-c(sample(c(1,2),1,replace=TRUE),sample(c(1:2),1,replace=TRUE),rexp(1,0.07),rexp(1,0.02))
hie R users
l have the following matrix
n=20
m-matrix(nrow=n,ncol=4)
colnames(m)=c(treatmentgrp,strata,survivalTime)
for(i in 1:n)
l would like to create the following matrice
treatmentgrpstrata
11 11 11 12
12 12 21 21 21
22 22 22 l
hie
l would like to create about ten strata l have tried using
sample(c(1,2),1,replace=TRUE) but all l get is a vector of 1 and 2 if i
change it to sample(c(1,10),1,replace=TRUE) it gives me a vector of 1 and 10
how do l go about it
-
sorry all l got the answer thanks
raymond chiruka [EMAIL PROTECTED] wrote: hie
l would like to create about ten strata l have tried using
sample(c(1,2),1,replace=TRUE) but all l get is a vector of 1 and 2 if i
change it to sample(c(1,10),1,replace=TRUE) it gives me a vector of 1
hie
l have obtained a logrank statistic and would like to get the normal
version from the same data eg sqrt(chiqsqr)with 1 df ~n(1,0)
is this possibe using R or Do l have to programme it
thanks
-
Bored stiff? Loosen up...
l used the following code to generate a sample and then calculated then did a
log rank test.can l get the normal version of the logrank eg sqrt of the
chisqr(1) will give you the N~(0,1).
from my sample can i use the above expression to get the normal dist from the
result of the log rank
739.96591 0 19
201 1306.14860 0 20
Happy working,
Corinna
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Schmitt, Corinna
Gesendet: Dienstag, 8. Mai 2007 10:06
An: raymond chiruka; r
in R when carring out the log rank test is the censored variable denoted by 1
or 0 or its of no consequence.
thanks
-
always stay connected to friends.
[[alternative HTML version deleted]]
__
hie l would like to create a 6th column actual surv time from the following
data
the condition being
if censoringTimesurvivaltime then actual survtime =survival time
else actual survtime =censoring time
the code l used to create the data is
s=2
while(s!=0){ n=20
hie how do you compute the logrank test using R
what commands do you use
thanks
-
Don't pick lemons.
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
hie how do you compute the logrank test using R
what commands do you use my data looks something like just an example
treatmentgrp strata censoringTime survivalTime censoring act.surv.time
[1,] 2 2 42.89005 1847.3358 1
42.89005
[2,]
l'm trying to find the survdiff package/function but it seems i cant get it
how do l instal it if its not there
thanks
-
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing
l have the following dataset and would like to calculate the actual survival
time by
if censoring time survival time then actual survival time =survival time
else its= censoring time.
treatmentgrp strata censoringTimesurvivalTime censoring
actualsurvivaltim
[1,]
how do l programme the logrank test. l am trying to compare 2 survival curves
-
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
i would like to add a variable to an existing matrix by manipulating 2 previous
variables eg for the data
m
treat strata censti survTime
[1,] 1 2 284.684074 690.4961005
[2,] 1 1 172.764515 32.3990335
[3,] 1 1 2393.195400 24.6145279
l want to create a column of 1 and 2 randomly what command should l use
eg
treatment strata
1 1
2 0
1 1
2 1
2 0
2 1
2
I am trying to generate survival data using R .Im trying to randomly generate
a column of 1s and 0 and another column randomly generated using an
exponential distribution but l cant seem to get the random function. how do l
go about it
thanks in advance
rt chiruka
20 matches
Mail list logo