Displaying 20 results from an estimated 200 matches similar to: "strange warning: data() error?"
2018 Apr 16
1
strange warning: data() error?
> On Apr 16, 2018, at 3:20 PM, David Winsemius <dwinsemius at comcast.net> wrote:
>
>>
>> On Apr 16, 2018, at 2:58 PM, Therneau, Terry M., Ph.D. via R-devel <r-devel at r-project.org> wrote:
>>
>> A user asked me about this and I can't figure it out.
>>
>> tmt% R
>> R Under development (unstable) (2018-04-09 r74565) --
2018 Apr 16
0
strange warning: data() error?
> On Apr 16, 2018, at 2:58 PM, Therneau, Terry M., Ph.D. via R-devel <r-devel at r-project.org> wrote:
>
> A user asked me about this and I can't figure it out.
>
> tmt% R
> R Under development (unstable) (2018-04-09 r74565) -- "Unsuffered Consequences"
> Copyright (C) 2018 The R Foundation for Statistical Computing
> Platform: x86_64-pc-linux-gnu
2012 Oct 06
2
Expected number of events, Andersen-Gill model fit via coxph in package survival
Hello,
I am interested in producing the expected number of events, in a
recurring events setting. I am using the Andersen-Gill model, as fit
by the function "coxph" in the package "survival."
I need to produce expected numbers of events for a cohort,
cumulatively, at several fixed times. My ultimate goal is: To fit an
AG model to a reference sample, then use that fitted model
2017 Jul 30
5
How export data set (available in the package) from R?
"Data set flchain available in the survival? package". ?How can?I get?it (from R)? as Excel file? Thanks!
[[alternative HTML version deleted]]
2009 Apr 20
1
bladder1 dataset in survival library
Hello,
In package survival should be a dataset bladder1.
http://stat.ethz.ch/R-manual/R-devel/library/survival/html/bladder.html
I can not open it (not found).
Both bladder and bladder2 are there.
Thanks,
Petra
2017 Jul 30
0
How export data set (available in the package) from R?
Read the help file for the survival package. Probably use the data function to retrieve it, and write it out using the write.table function.
--
Sent from my phone. Please excuse my brevity.
On July 29, 2017 8:47:51 PM PDT, Ted via R-help <r-help at r-project.org> wrote:
>"Data set flchain available in the survival? package". ?How can?I
>get?it (from R)? as Excel file?
2009 May 04
4
Creating a variable which is the sum of equal rows in a dataframe
Hi everyone:
I need to count the number of banks of each firm in my
data. The firm is identified by the fiscal number. The
banks of each firm appears like this:
Firm Banks
500600700 Citybank
500600700 CGD
500600700 BES
500600800 Citybank
500600800 Bank1
500600900 CGD
I want to obtain the following dataframe:
Firm
2013 Oct 09
1
frailtypack
I can't comment on frailtypack issues, but would like to mention that coxme will handle
nested models, contrary to the statement below that "frailtypack is perhaps the only ....
for nested survival data".
To reprise the original post's model
cgd.nfm <- coxme(Surv(Tstart, Tstop, Status) ~ Treatment + (1 | Center/ID), data=cgd.ag)
And a note to the poster-- you should
2010 Aug 19
1
memory problem
Hi,
when i run the following code i get this massege:
"The instruction at 0x######## reference memory at
0x#######, the memory cannot be "read".
and then i have to close R.
what is the problem and how can i solve it?
thanks in advance
Avi
my code
# frailtypack
library(frailtypack)
cgd.ag <- read.csv("C:/rfiles/RE/cgd.csv")
cgd.nfm <-frailtyPenal(Surv(TStart,
2007 Jan 04
5
color of opposite sign values in filled.contour
Dear R-helpers,
I'm plotting geophysical data in the form of contours using
"filled.contour". The display would be much more effective if the areas
with negative values could be color coded
by -- say -- "cold colors" in the range of blue to green, and conversely
the areas with positive values got plotted with "warm colors", from yellow
to red.
Right now if I use
2012 Feb 03
1
coxme with frailty--variance of random effect?
Dear all,
This probably stems from my lack of understanding of the model, but I
do not understand the variance of the random effect reported in coxme.
Consider the following toy example:
#------------------------------- BEGINNING OF CODE
------------------------------------------------
library(survival)
library(coxme)
#--- Generate toy data:
d <- data.frame(id = c(1:100), #
2010 Aug 09
2
recurrent events
Hello,
I have a cohort with approx 1,200 patients at the ages of 30-65 that had
their first myocardial infarction during 1992:
· They were in a follow up until 2005.
· About 400 of them died during this period of time (right censored)
· Each one of them had up to 4 mi recurrent events.
I am using the semi-parametric model in order to assess the relationship of
2002 Jun 25
5
Sourcing files with library
Hi everyone,
I have written a class with methods that extend generic functions such as
as.data.frame or show. When I load this package, I want to ensure that
these methods - along with the other functions in the file - are added to
R's search path or updated, if necessary. I have made a package using
check/build/INSTALL.
Will a simple library() call on the package accomplish this? I
2002 May 31
2
error in seq.POSIXt?
I am trying to extract only the winters (defined to be 01-Dec through
28-Feb) of daily data from 1948-2002. There are 90 days in each winter
season. I wrote the following code to gather the winter dates into a
single vector:
DJF <- NULL
for(year in 1949:1999) {
temp.begin <- strptime(paste("01/12", year-1, sep="/"), "%d/%m/%Y")
temp.end <-
2004 Apr 22
1
Lyapunov exponent?
Hello,
Does anybody know if there is somewhere in R a function to calculate the
Lyapunov exponent in a time series?
Thanks,
Philippe Grosjean
.......................................................<??}))><....
) ) ) ) )
( ( ( ( ( Prof. Philippe Grosjean
\ ___ )
\/ECO\ ( Numerical Ecology of Aquatic Systems
/\___/ ) Mons-Hainaut University, Pentagone
/ ___ /( 8, Av. du
2001 Sep 13
2
image plot legends
Hi,
is there anybody knowing a possibility to produce a legend
(describing the color scheme) in an image plot in R. In S-Plus
this works using image.legend.
Thank's in advance.
INGO
--
-----------------------------------------------------------------
Ingo Roeder
Institute for Medical Informatics, Statistics and
2004 Oct 03
1
help working with persp plot function
Hi,
I don't understand why this is not working. Help is appreciated.
I need to plot the following as a surface, but persp returns an error.
tpcp_xy[1:10,]
X_COORD Y_COORD TPCP
1 465459.7 175924.1 0.85
2 466145.8 324017.3 2.30
3 467720.2 372143.1 1.56
4 470293.2 348064.8 2.87
5 476566.9 205501.8 0.94
6 477774.9 142561.0 1.31
7 479207.0 162919.6 3.04
8 480890.8 290641.3 2.20
9
2004 Mar 05
3
Lyapunov exponent code for time series
Dear all,
Has anyone worked on coding for calculating Lyapunov Exponent for a time
series data? or any package is available for computing Lyapunov?
Please advice and many thanks in advance.
Catherine X Wang
2004 May 03
3
R 1.9.0 on AIX, 64-bit
I'm trying to get R 1.9.0 running on AIX 5.1 with the standard AIX
compilers (xlc, xlf) and it is failing 2 of the tests,
test-Reg in reg-tests-1.R like this:
bash-2.05b$ tail -30 reg-tests-1.Rout.fail
[,1] [,2]
[1,] 1 3
[2,] 2 4
[3,] 1 3
[4,] 2 4
> stopifnot(typeof(res) == "list")
> ## were not implemented in 1.8.1
>
>
> ## Date objects with
2001 Dec 06
2
Solaris install problem ... mcount
Hmnnn...
This is the third version of R I have installed and I am stumped on this one.
There is some unresolved external I cannot find...
/opt/SUNWspro/bin/cc -v -o R.bin CConverters.o Rdynload.o RNG.o apply.o
arithmetic.o array.o attrib.o bind.o builtin.o character.o coerce.o colors.o
complex.o connections.o context.o cov.o cum.o dcf.o datetime.o debug.o devPS.o
devPicTeX.o deparse.o