Displaying 20 results from an estimated 1000 matches similar to: "Kaplan Meier function"
2008 Mar 05
2
t.test & p-Value
Hello list,
I am trying to apply the paired t.test between diseased and not diseased
patients to identify genes that are more expressed in the one situation
under the other. In order to retrieve the genes that are more expressed in
the positive disease state I do:
p.values<-c()
for(i in 1:length(Significant[,1])){
p.values[i]<-try(t.test(positive[i,],negative[i,],alternative
2007 Nov 21
4
NA values
Hi all!
I am new to R and I would like to ask you the following question:How
can I substitute the NA values with 0 in a data frame? I cannot find a
command to check if a value is NA...
Thank you very much!
Eleni
2010 Mar 09
4
Transfer R workspace on another PC
Hi list!
I have recently tried to take my office work home, meaning that I tried to
transfer my "... .RData" workspace from my PC on my laptop. The office PC
runs on Windows XP and my laptop runs on Windows Vista. I have saved the
workspace at the office PC and kept it in a usb drive. When I tried to open
it on my laptop I got an error: "Fatal Error: Unable to restore saved data
in
2008 Jan 22
4
select repositories under linux
Hi all,
I am trying to install the package "GEOquery" in unix. I have downloaded the
standard version of R and this package is not contained in the default. I
know that I can select repositories under windows but I don't know how to do
it in unix. Does anyone have any idea on this?
Thank you in advance,
Eleni
[[alternative HTML version deleted]]
2008 Jan 31
3
Memory problem?
Hello R users,
I am trying to run a cox model for the prediction of relapse of 80 cancer
tumors, taking into account the expression of 17000 genes. The data are
large and I retrieve an error:
"Cannot allocate vector of 2.4 Mb". I increase the memory.limit to 4000
(which is the largest supported by my computer) but I still retrieve the
error because of other big variables that I have in
2001 Mar 11
2
Kaplan-Meier for left-truncated, right-censored data
Is it possible to calculate Kaplan-Meier for left-truncated,
right-censored data using survival5?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
2004 Jan 07
2
Survival, Kaplan-Meier, left truncation
Dear all,
I have data from 1970 to 1990 for people above age 50.
Now I want to calculate survival curves by age starting at age 50 using the
Kaplan Meier Estimator.
The problem I have is that there are already people in 1970 who are older
than 50 years.
I guess this is called delayed entry or left truncation (?).
I thought the code would be:
roland <- survfit(Surv(time=age.enter,
2011 Jul 13
2
life table and Kaplan-Meier
Hello, I have a question about the function lifetab in package KMsurv.
The description of the output value surv says "the estimated survival
function at the start of the intervals".
Are these estimates the ones calculated via Kaplan-Meier probability of
survival ?
Thanks in advance!
--
View this message in context:
2010 Apr 19
2
Kaplan-Meier survfit problem
When I try to the code from library(survival) of library(ISwR),
the following code
survfit(Surv(days,status==1))
that could produce Kaplan-Meier estimates shows the following error
"Error in survfit(Surv(days, status == 1)) :
Survfit requires a formula or a coxph fit as the first argument"
How it can be done in R.2.10
--
View this message in context:
2003 Jan 16
1
help drawing kaplan-meier plot starting from 0
Dear help news reader,
I'm trying to draw a Kaplan-Meier curve and would like to ask the news
group for some help
Supposing I have study comapring two drugs, "A", and "B" and I recorde the
time to get to the clinical endpoint (Time), in my case becommming virus free.
I have setup the following frame:
Time c Drug
1 5 1 A
2 7 1 B
3 2 1 A
4 10 1
2009 Feb 01
1
need some help about using R for Kaplan-Meier estimator
Hi Fello:
I am asked to compute the Kaplan-Meier estimator of data with right censoring without using surfit(). Does anyone know how to use R to compute the estimators?
The data should input X: vector of right-censored observed time for n individuals, and d: vector of failure time indicators (0=censored individual;1=unconsored individual)
and the function should return with
t: vector of sorted
2012 Oct 24
2
Kaplan Meier Post Hoc?
This is more of a general question without data. After doing 'survdiff',
from the 'survival' package, on strata including four groups (so 4 curves
on a Kaplan Meier curve) you get a chi squared p-value whether to reject
the null hypothesis or not. Is there a method to followup with pairwise
testing on the respective groups? I have searched the library but have
come up with
2007 Jul 05
1
Incidence estimated from Kaplan-Meier
Dear all,
I have a stat question that may not be related to R, but I would like to
have your advice.
I have just read a medical paper in which the authors report the 1-p (where
p is the cumulative survival probability from the Kaplan Meier curve) as
incidence of disease.
Specifically, the study followed ~12000 women on drug A and ~20000 women on
drug B for 12 months. During that period
2012 Jan 05
2
Problem with axes in a plot of Kaplan-Meier
Helo:
After changing "involuntarily" some of the graphics parameters with
the command par() (I did not know that changes with this command are
permanent), now when I made a plot of the survival Kaplan-Meier
function, the Y axis does not start at 1, and the X axis does starts
at 0. The commands that I use are:
library(survival)
BROWN.SPV = Surv(BROWN$TEMPS, BROWN$DEF)
2012 Nov 26
1
Plotting an adjusted kaplan-meier curve
Dear R-users
I am trying to make an adjusted Kaplan-Meier curve (using the Survival package) but I am having difficulty with
plotting it so that the plot only shows the curves for the adjusted results.
My data come from a randomised controlled trial, and I would like the adjusted Kaplan-Meier
curve to only show two curves for the adjusted survival: one for those on treatment (Treatment==1)
2012 Feb 20
1
Reporting Kaplan-Meier / Cox-Proportional Hazard Standard Error, km.coxph.plot, survfit.object
What is the best way to report the standard error when publishing
Kaplan-Meier plots? In my field (Vascular Surgery), practitioners
loosely refer to the "10% error" cutoff as the point at which to stop
drawing the KM curve. I am interpreting this as the *standard error
of the cumulative hazard*, although I'm having a difficult time
finding some guidelines about this (perhaps I am
2008 Jan 31
2
Delete/insert rows in data matrix
Hello all,
I have the following problem. I want to insert blank rows in an data frame
so as to make it comparable with another data frame with more rows. How can
I insert these rows?
If this is not solvable, then, alternatively, is it easy to delete rows from
a data frame?
Thanks for helping,
Eleni
[[alternative HTML version deleted]]
2012 Mar 19
1
hgu133plus2hsentrezgprobe library
Hello R community,
I am processing raw Affymetrix CEL files and I am using the Michigan custom
CDF library hgu133plus2hsentrezgprobe. I have been looking for
documentation on the function that it contains...I am specifically
interested in converting probe names to gene symbols. Does anybody know
where I can find it?
Thank a lot!
Eleni
[[alternative HTML version deleted]]
2006 Dec 09
2
Show number at risk on Kaplan Meier curve
Dear all,
I'm using the "survival" package with R 2.4.0 on Mac OS X 10.4.8.
I have two core statistics books (one of which is Altman's medical stats
book) which suggest showing the number of individuals at risk at
different time intervals on the Kaplan-Meier curve.
My plot shows two curves that later cross, because of one significant
outlier.
I have two queries:
Is there an
2012 Aug 22
1
plotting Kaplan Meier using ggplot2 returns class function error
Hi list
I am running this ggplot2 R code:
http://www.r-bloggers.com/an-enhanced-kaplan-meier-plot/
with its graphical output looks like this:
http://statbandit.files.wordpress.com/2011/03/rstudio-v79384.pdf
It gives me this error:
ggplot2 doesn't know how to deal with data of class function
I looked around seems like it's a common problem, but haven't found a
solution.
Thanks,
Mike