Displaying 20 results from an estimated 7000 matches similar to: "R Packages in Windows"
2000 Apr 22
1
censored bootstrap
Hello,
I have been trying to use the censored bootstrap function 'censboot'
from the library boot, with the function 'survfit' from the library
survival5. My code is:
surv.fun <-function(data) {
sur<-survfit(Surv(data[,1],data[,2]), data=data)
}
c.boot<-censboot(m,surv.fun,R=99)
m is my data set
I get the error message:
Error 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
2000 Apr 05
1
problem with survexp in survival5
survexp in survival5 doesn't seem to work for me. see below:
> library(survival5)
Attaching Package "package:survival5":
The following object(s) are masked from package:base :
sort.list
> library(chron)
> data(ratetables)
> survexp(~ratetable(year=julian(6,1,1991),
+ sex=1,age=35*365.24),times=(0:30)/6*365.24)
Error in as.character(as.date(c(min(R[, 3]),
2000 May 03
1
log-log plots
Hi,
I am conducting a survival analysis and I have been trying, with not success, to do a log-log survival plots.
Does anyone know how to do it in R?
By the way I am using version 1.0.0 for windows.
Many Thanks
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20000503/e64aa9ee/attachment.html
1999 May 25
1
survival5
> data(package=survival5)
Warning: no data listing found
Warning: package `survival5' contains datasets but no index
The data loads OK.
Mai Zhou
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the
2003 Apr 23
3
documentation for survival5?
Dear R-Helpers:
What other references are there on the capabilities of the survival5
package other than the help files and the chapter on survival analysis
in every edition of Modern Applied Statistics with S? I'm thinking of
something like "An Introduction to Survival Analysis in R" with worked
examples that might complement or extend the chapter in MASS.
Thanks,
Spencer
2001 Sep 27
1
kidney survival data
Dear all, in survival5, kidney data set, appears in help page:
"survival5 does not reproduce the original analysis."
What does it means?
thanks in advance
TCM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20010927/e006b08d/attachment.html
2001 Feb 22
3
[newbie] Cox Baseline Hazard
Hello everybody.
First of all, I would like to present myself.
I'm a french student in public health and I like statistics though I'm
not that good in mathematics (but I try to catch up). I've discovered R
recently while trying to find a statistical program in order to avoid
rebooting my computer under windows when I need to do some statistical
work.
And here is my first question.
2001 Jan 11
1
Some Packages Won't Run under RH 7
Patrick Connolly wrote:
> According to Richard A. Bilonick:
> |>
> |> I recently installed Red Hat Linux 7.0. I installed Version 1.2.0 (2000-12-15) of
> |> R. I installed a number of packages including chron, date, ellipse, sgeostat,
> |> survival5, and xtable. the "library()" command shows that they are installed.
> |>
> |> chron works but I get
2012 Jul 06
1
How to compute hazard function using coxph.object
My question is, how to compute hazard function(H(t)) after building the
coxph model. I even aware of the terminology that differs from hazard
function(H(t)) and the hazard rate(h(t)). Here onward I wish to calculate
both.
Here what I have done in two different methods;
##########################################################################################
1999 May 24
1
survival5 for windows
I downloaded binary of survival5 for windows95
(also the splines, date).
The function survsum shows up in content, has a help page,
but the function itself is missing.
Can we cut and paste the survsum from survival4 ?
Mai Zhou
P.S.
I am not picking on R, not even complaining.
I think R is great and I am try to contribute my (small) part
to make it even better in way of bug report (or
2009 Jul 15
2
Substituting a user-defined function for a standard function in graphics
Dear R-help readers,
I'm trying to substitute my own version of plot.default, in order to
capture low-level graphics input for further manipulation. I seem to be
having difficulties getting the versions of functions that I intend to use
called at the right places.
Specifically, I have an object produced by survfit from the survival
package, and I want to save the values that
2000 Sep 19
4
methods for interval-censored data
Dear all,
Are there functions or packages in R that can handle interval-censored
data? I have looked in various packages (such as survival5 or event), but
it seems that only right-censored data can be analysed.
More generally, are there methods to analyse both interval-censored
observations and right-censored observations in the same data set?
Thanks in advance.
Emmanuel Paradis
2007 Dec 09
2
Getting estimates from survfit.coxph
Dear all,
I'm having difficulty getting access to data generated by survfit and
print.survfit when they are using with a Cox model (survfit.coxph).
I would like to programmatically access the median survival time for
each strata together with the 95% confidence interval. I can get it on
screen, but can't get to it algorithmically. I found myself examining
the source of print.survfit to
2010 Aug 31
1
Speeding up prediction of survival estimates when using `survifit'
Hi,
I fit a Cox PH model to estimate the cause-specific hazards (in a competing risks setting). Then , I compute the survival estimates for all the individuals in my data set using the `survfit' function. I am currently playing with a data set that has about 6000 observations and 12 covariates. I am finding that the survfit function is very slow.
Here is a simple simulation example
2013 Mar 04
2
survfit plot question
Hello,
I create a plot from a coxph object called fit.ads4:
plot(survfit(fit.ads4))
plot is located at:
https://www.dropbox.com/s/9jswrzid7mp1u62/survfit%20plot.png
I also create the following survfit statistics:
> print(survfit(fit.ads4),print.rmean=T)
Call: survfit(formula = fit.ads4)
records n.max n.start events *rmean *se(rmean)
median 0.95LCL 0.95UCL
203.0
2006 Oct 25
1
Incorrect 'n' returned by survfit()
I've a data set with 60000 rows of data representing 6000+ distinct loans. I did a coxph() regression on it (see call below), but a subsequent survfit() call on the coxph object is almost certainly wrong. It gives n=6 when it should be
more like 6000+ (I think)
> survfit(resultag)
Call: survfit.coxph(object = resultag)
n events median 0.95LCL 0.95UCL
6 489 Inf
2007 Apr 29
2
how to code the censor variable for "survfit"
Dear r-helpers,
This is my first time to run survival analysis. Currently, I have a
data set which contains two variables, the variable of time to event
(or time to censoring) and the variable of censor indicator. For the
indicator variable, it was coded as 0 and 1. 0 represents right
censor, 1 means event of interest. Now I try to use "survfit" in the
package of "survival". I
2014 Mar 06
1
Survfit Error
Hi everyone,
I am not new to R, but new to running survival models in R.
I am trying to create some basic KM curves, using the following code:
library(survival)
library(KMsurv)
(import data etc - basic right censored, with continuously observed time of death)
sleepfit <- survfit(Surv(timeb, death), data = sleep)
Here timeb is measured is survival in years, death is a 1/0 indicator (1 =
2009 Feb 25
3
survival::survfit,plot.survfit
I am confused when trying the function survfit.
my question is: what does the survival curve given by plot.survfit mean?
is it the survival curve with different covariates at different points?
or just the baseline survival curve?
for example, I run the following code and get the survival curve
####
library(survival)
fit<-coxph(Surv(futime,fustat)~resid.ds+rx+ecog.ps,data=ovarian)