Displaying 20 results from an estimated 800 matches similar to: "problem with survexp in survival5"
2005 Dec 15
2
survexp ratetables for european contries?
Dear All,
Does someone have, or know of survexp ratetables for european contries,
especially Austria and Germany?
I know only about slopop in the package relsurv.
Thanks in advance
Heinz T??chler
2010 Dec 31
3
survexp - example produces error
Dear All,
reposting, because I did not find a solution, maybe someone could
check the example below.
It's taken from the help page of survdiff. Executing it, gives the error
"Error in floor(temp) : Non-numeric argument to mathematical function"
best regards,
Heinz
library(survival)
## Example from help page of survdiff
## Expected survival for heart transplant patients based
2011 Apr 20
2
survexp with weights
Hello,
I probably have a syntax error in trying to generate an expected
survival curve from a weighted cox model, but I can't see it. I used
the help sample code to generate a weighted model, with the addition
of a "weights=albumin" argument (I only chose albumin because it had
no missing values, not because of any real relevance). Below are my
code with the resulting error
2009 May 21
1
Changelog for the survival package
> Several changes in print.survfit, plot.survfit and seemingly in the structure
> of ratetabels effect some of my syntax files.
> Is there somewhere a documentation of these changes, besides the code itself?
I agree, the Changelog.09 file is not as comprehensive as one would like.
Specific comments:
1. The ratetables were recently changed to accomodate a new option. I thought
2009 Jan 19
1
further notes on model.frame issue
This is a follow-up on my note of Saturday. Let me start with two important
clarifications
- I think this would be a nice addition, but I've had exactly one use for it
in the 15+ years of developing the survival package.
- I have a work around for the current case.
Prioritize accordingly.
The ideal would be to change survexp as follows:
fit <- survexp( ~ gender,
2010 Nov 11
3
Evaluation puzzle
The survexp function can fail when called from another function. The "why" of
this has me baffled, however.
Here is a simple test case, using a very stripped down version of survexp:
survexp.test <- function(formula, data,
weights, subset, na.action, rmap,
times, cohort=TRUE, conditional=FALSE,
ratetable=survexp.us, scale=1, npoints, se.fit,
1998 Nov 26
1
heap memory exhausted
Hi
I always have following error message when I try to read
a big ascii-file:
> inzp<-read.data()
> Error: heap memory (1953 Kb) exhausted [needed 0 Kb more]
read.data() is a small function that reads the ascii-file.
When I cut the ascii-file to a small one I don't have this
problem.
Can I extend this 'heap memory' for reading big data files? How?
I'm working with R on a
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
2011 May 26
5
Survival: pyears and ratetable: expected events
Dear all,
I am having a (really) hard time getting pyears to work together with a
ratetable to give me the number of expected events (deaths).
I have the following data:
dos, date of surgery, as.Date
dof, date of last follow-up, as.Date
dos, date of surgery, as.Date
sex, gender, as.factor (female,male)
ev, event(death), 0= censored at time point dof, 1=death at time point dof
Could someone
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
2011 Sep 28
1
survexp with large dataframes
Hello, and thank you in advance.
I would like to capture the expected survival from a coxph model for
subjects in an observational study with recurrent events, but the
survexp statement is failing due to memory. I am using R version
2.13.1 (2011-07-08) on Windows XP.
My objective is to plot the fitted survival with the Kaplan-Meier
plot. Below is the code with output and [unfortunately]
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
2002 Oct 10
0
help ! calculating relative mortality using survival5
Hi All,
I am relatively new to R (took a class 2 yrs ago ...), and am hoping someone can point me in the right direction for a problem I'd like to solve in R :
I would like to calculate the relative mortality of a particular impairment, relative to the standard population.
I.e. I'm trying to find S_relative(t) in the eqn below :
S_impar(t) = S_standard(t) * S_relative(t)
where
2008 Sep 10
2
relsurv package
Dear R-users,
I have a couple of questions about the relsurv package:
1) when I try to run the example:
fit <- rsmul(Surv(time,cens)~sex+as.factor(agegr)+ratetable(age=age*365.24,sex=sex,year=year),ratetable=slopop,data=rdata)
with the datasets in the package (rdata and slopop) it gives me an error:
Error in nrow(x) : object "x" not found
2)
If I have a date format
2001 Jan 15
1
announce: survival5 bug fix
Anyone using the penalised partial likelihood routines in survival5 should
update their version.
A bug has been fixed in the S package: in coxph() models with penalised
likelihood and strata it was possible in some circumstances to get an
infinite loop or perhaps an incorrect answer.
The new version (2.3) is on cran.r-project.org and will percolate through
CRAN in the next few days.
-thomas
2001 Jan 15
1
announce: survival5 bug fix
Anyone using the penalised partial likelihood routines in survival5 should
update their version.
A bug has been fixed in the S package: in coxph() models with penalised
likelihood and strata it was possible in some circumstances to get an
infinite loop or perhaps an incorrect answer.
The new version (2.3) is on cran.r-project.org and will percolate through
CRAN in the next few days.
-thomas
1999 Jul 10
1
who submitted ratetables to CRAN?
Hi,
the ratetables package on CRAN contains no author/maintainer
information whatsoever and I cannot remember who submitted it
... is the creator out there on this list?
The DESCRIPTION file is missing (otherwise I wouldn't have problems
with finding the author) ...
Fritz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read
2010 Sep 13
0
using survexp and ratetable with coxph object that includes a factor term
Hello,
I'm attempting to use the ratetable argument to
survexp in the survival package. I use
the example from the ?survexp help page below,
and then slightly modify it to produce an error.
library(survival)
data(pbc)
#fit a model without any factors
pfit1 <- coxph(Surv(time, status > 0) ~ trt + log(bili) +
log(protime) + age + platelet, data=pbc)
#this works as expected
2010 Dec 20
0
survexp - unable to reproduce example
Dear All,
when I try to reproduce an example of survexp, taken from the help
page of survdiff, I receive the error message
"Error in floor(temp) : Non-numeric argument to mathematical function"
.
It seems to come from match.ratetable. I think, it has to do with
character variables in a ratetable.
I would be interested to know, if it works for others. With an older
version of
2000 Apr 18
1
R Packages in Windows
I have installed R version 1 for windows and have installed
the survival5 package in the library folder, but the base package
only seems to partially acknowledge survival5's presence.
How have I screwed up? The diagnostics are as follows...
>library(survival5)
** no warning given.. seems OK **
>help(package=survival5)
**this gives the contents of the package correctly,