Sorkin, John wrote/hat geschrieben on/am 01.07.2024 17:54:
#I am trying to write code that will create a matrix with a variable number of
columns where the #number of columns is 1+Grps
#I can do this:
NSims <- 4
Grps <- 5
DiffMeans <- matrix(nrow=NSims,ncol=1+Grps)
DiffMeans
#I have a problem w
Jeff Newmiller wrote/hat geschrieben on/am 03.04.2023 18:26:
unname(unlist(NamesWide))
Why not:
NamesWide <- data.frame(Name1=c("Tom","Dick"),Name2=c("Larry","Curly"))
NamesLong <- data.frame(Names=with(NamesWide, c(Name1, Name2)))
On April 3, 2023 8:08:59 AM PDT, "Sparks, John" wrote:
Hi
09.01.2023 18:05:58 akshay kulkarni :
We are living in the 21st century world, and the R-core team might,I suppose,
have a definite reason ...
Maybe compatibility reasons with S and R-versions from the 20st century?
But maybe, you would have expected some reason even then.
best regards,
Hei
Greg,
Greg Minshall wrote/hat geschrieben on/am 02.11.2021 08:57:
Heinz,
x <- c("a","b","c")
lettersnum <- 1:length(letters[])
names(lettersnum) <- letters[]
lettersnum[x]
lettersnum[x]
a b c
1 2 3
i'm not sure if the following is obviously better, but one might do
b <- match(a, a)
n
Alice wrote/hat geschrieben on/am 31.10.2021 07:33:
Dear members,
How to translate the charter to the underline inter?
I tried this:
x <- c("a","b","c")
as.numeric(x)
[1] NA NA NA
Warning message:
NAs introduced by coercion
It didn't work.
Sorry for my newbie questions.
B.R.
Alice
What about the Cs()-function in Hmisc?
library(Hmisc)
Cs(a,b,c)
[1] "a" "b" "c"
Steven Yen wrote/hat geschrieben on/am 05.01.2021 13:29:
Thanks Eric. Yes, "unlist" makes a difference. Below, I am doing not
regression but summary to keep the example simple.
> set.seed(123)
> data<-matrix(runif
see below
Steven Yen wrote/hat geschrieben on/am 05.01.2021 08:14:
I constantly define variable lists from a data frame (e.g., to define a
regression equation). Line 3 below does just that. Placing each variable
name in quotation marks is too much work especially for a long list so I
do that wit
is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Wed, Dec 9, 2020 at 3:33 AM Heinz Tuechler wrote:
Dear All,
while svg() (package grDevices) can produce several files, svglite()
(package svglit
Dear All,
while svg() (package grDevices) can produce several files, svglite()
(package svglite) is limited to one file/page only (as documented in the
respective help page).
Is there a simple solution to make svglite() work like svg() to produce
several files?
Of course one could call svglite()
inline - David Wright wrote on 19.11.2020 12:39:
Appropriation of Indian Red as 'Chestnut' (or other alternative) will
be viewed by some as 'making appropriate' the label for a colour, and
no doubt by other groups as cultural theft by excising reference to
its origin.
Seems the best option is to
maybe
isoDates <- as.Date(oriDates, format = "%d/%m/%y")
Heinz
Luigi Marongiu wrote/hat geschrieben on/am 10.06.2020 10:20:
Hello,
I have been trying to convert European short dates formatted as
dd/mm/yy into the ISO 8601 but the function as.Dates interprets them
as American ones (mm/dd/yy), th
Abby Spurdle wrote/hat geschrieben on/am 12.05.2020 10:38:
In my opinion the advantage of computers is not Artificial
Intelligence, but rather Artificial Patience (most AI that I have seen
is really doing a bunch of what I would consider to be boring, really
fast so people don't have to). Leave
Jeff Newmiller wrote/hat geschrieben on/am 17.03.2020 05:39:
The coxph function appears to rely on finding the name of the data argument in
the environment in which the formula was created. The lm function does not have
this problem.
Oh, and df is the name of the F distribution density functio
Maybe it helps searching at https://rseek.org/ for "SPSS to R transition
value labels".
In particular
https://cran.r-project.org/web/packages/expss/vignettes/labels-support.html
seems useful, as well as
https://www.r-bloggers.com/migrating-from-spss-to-r-rstats/
best regards,
Heinz
Jim Lemon wro
maybe qvcalc https://cran.r-project.org/web/packages/qvcalc/index.html
is useful for you.
Marc Girondot via R-help wrote/hat geschrieben on/am 30.12.2018 05:31:
Dear members,
Let do a example of simple GLMM with x and G as fixed factors and R as
random factor:
(note that question is the same
Are you sure that you want to read in the output_file in
text <- readLines(output_file, warn = FALSE)?
best regards,
Heinz
Thierry Onkelinx wrote/hat geschrieben on/am 06.09.2017 11:41:
Dear all,
I'm trying to write a post_processor() for a custom rmarkdown format. The
goal of the post_proce
It seems that if you build the formula as a character string, and
postpone the "as.formula" into the lm call, it works.
instead of
frm1 <- as.formula(paste(trg,"~1"))
use
frm1a <- paste(trg,"~1")
and then
strt <- lm(as.formula(frm1a),dat)
regards,
Heinz
Stephen O'hagan wrote/hat geschrieben o
Bert Gunter wrote on 01.04.2016 23:46:
... of course, whether one **should** get them is questionable...
http://www.nature.com/news/statisticians-issue-warning-over-misuse-of-p-values-1.19503#/ref-link-1
This paper repeats the common place statement that a small p-value does
not necessarily i
Anindya Sankar Dey wrote/hat geschrieben on/am 30.12.2015 07:35:
Hi All,
The fmsb package has a function called Variance Inflation Factor and it
states the definition of the function as follows:-
"To evaluate multicolinearity of multiple regression model, calculating the
variance inflation fa
comment inline
David Winsemius wrote on 24.01.2015 21:08:
On Jan 23, 2015, at 5:54 PM, JohnDee wrote:
Heinz Tuechler wrote
At 07:40 21.06.2009, J Dougherty wrote:
[...]
There are other ways of regarding the FET. Since it is precisely
what it says
- an exact test - you can argue that you
less memory.
Thank you for the hint.
It appears to me that source() in R-devel performs at about the same
speed as in R 2.15.2.
Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com
-Original Message-
From: Heinz Tuechler [mailto:tuech...@gmx.at]
Sent: Wednesday, October 30, 2013 1:
Best thanks for confirming my impression. I use dump for storing large
data.frames with a number of attributes for each variable. save/load is
much faster, but I am unsure, if such files will be readable by R
versions years later.
What format/functions would you suggest for data storage/transfer
All was run on the identical machine in independent sessions. I did not
restart Windows. I also tried 32bit R 3.0.2 and it seemed slightly
faster than 64bit.
Using Process Explorer v15.23
(http://technet.microsoft.com/de-de/sysinternals/bb896653) my impression
was that R 3.0.2 manages memory in
Dear All,
is it known that source works much faster in R 2.15.2 than in R 3.0.2 ?
In the example below I observe e.g. for a data.frame with 10^7 rows the
following timings:
R version 2.15.2 Patched (2012-11-29 r61184)
length: 1e+07
user system elapsed
62.040.22 62.26
R version 3.
Dear Terry,
as soon as the vignette is ready, I would be very happy, to know about
it. Will you send a note to r-help, or will it be announced in some
other way?
best regards,
Heinz
On 08.03.2013 15:12, Terry Therneau wrote:
-- begin included message --
I have a competing risk data where a
Dear All,
is there a simple way to retain the class attribute of a column, if
merging two data.frames?
When merging the example data.frames form help(merge) I am unable to
keep the class attribute as set before merging (see below).
Two columns are assigned new classes before merge (myclass1,
m
At 12.08.2011 01:53 +0100, Heinz Tuechler wrote:
At 12.08.2011 11:05 +1200, Rolf Turner wrote:
On 12/08/11 11:34, Heinz Tuechler wrote:
At 12.08.2011 09:11 +1200, Rolf Turner wrote:
On 12/08/11 09:59, Heinz Tuechler wrote:
At 11.08.2011 21:50 +0300, Zeki Çatav wrote:
PrÅ, 2011-08-11
At 12.08.2011 11:05 +1200, Rolf Turner wrote:
On 12/08/11 11:34, Heinz Tuechler wrote:
At 12.08.2011 09:11 +1200, Rolf Turner wrote:
On 12/08/11 09:59, Heinz Tuechler wrote:
At 11.08.2011 21:50 +0300, Zeki Çatav wrote:
PrÅ, 2011-08-11 tarihinde 19:27 +0200 saatinde, Uwe Ligges yazdÄ
At 12.08.2011 09:11 +1200, Rolf Turner wrote:
On 12/08/11 09:59, Heinz Tuechler wrote:
At 11.08.2011 21:50 +0300, Zeki Çatav wrote:
PrÅ, 2011-08-11 tarihinde 19:27 +0200 saatinde, Uwe Ligges yazdı:
>
> On 11.08.2011 19:22, David Winsemius wrote:
> >
> > On Aug 11, 2011
At 11.08.2011 21:50 +0300, Zeki Çatav wrote:
PrÅ, 2011-08-11 tarihinde 19:27 +0200 saatinde, Uwe Ligges yazdı:
>
> On 11.08.2011 19:22, David Winsemius wrote:
> >
> > On Aug 11, 2011, at 11:42 AM, Uwe Ligges wrote:
> >
> >>
> >>
> >> On 11.08.2011 16:10, zcatav wrote:
> >>> Hello R people,
> >>
At 19.07.2011 18:50 -0700, Spencer Graves wrote:
On 7/19/2011 4:04 PM, Bert Gunter wrote:
On Tue, Jul 19, 2011 at 3:45 PM, David
Winsemius wrote:
On Jul 19, 2011, at 6:29 PM, J. wrote:
Thanks for the answer.
#
However, I am still curious about which result I should
It's unclear to me, why the rating/review system should relate to
entire packages. Would it not be more informative, if single specific
functions would be rated and reviewed?
I would like to see if "+" is rated better than "-", or if more
difficulties are reported for "*" than for "/". I could t
At 14.01.2011 07:09 -0800, Peter Ehlers wrote:
On 2011-01-14 02:09, bgr...@dyson.brisnet.org.au wrote:
Brian,
Thanks. My response to David follows. I should add that this problem has
never occurred previously as far as I know (I have now checked the
previous report I was sent):
This problem o
ngsAsFactors=old.stringsAsFactors)
it seems to work.
Heinz
At 31.12.2010 15:53 +0100, Heinz Tuechler wrote:
Dear Peter, Dear All,
a further attempt led me to an answer. If I set
options(stringsAsFactors=TRUE), which I usually have set to FALSE,
no error occurs.
I am, however not happy with t
quot;white" "white"
[100] "white" "white" "white" "white"
Browse[1]> Q
>
There is also 'temp' in frame number 1.
> expect <-
+ survexp(futime ~ ratetable(age=(accept.dt - birth.dt),
+ s
quot;white" "white" "white" "white" "white" "white" "white"
[100] "white" "white" "white" "white"
Browse[1]> Q
>
There is also 'temp' in frame number 1.
> expect &
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)
## Exa
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 ratetab
Hello Petr,
don't want to convince you. If you like the following:
x <- factor(1:4, labels=c("one", "two", "three", "four"))
y <- factor(3:5, labels=c("three", "four", "five"))
data.frame(character=c(as.character(x), as.character(y)), numeric=c(x, y))
character numeric
1 one 1
2
At 12.12.2010 00:48 +0200, Tal Galili wrote:
Hello dear R-help mailing list,
My question is *not* about how factors are implemented in R (which is, if I
understand correctly, that factors keeps numbers and assign levels to them).
My question *is* about why so many functions that work on factors
Sorry for not being precise enough.
Here
http://tolstoy.newcastle.edu.au/R/help/05/08/11177.html
you should find the attachment
http://tolstoy.newcastle.edu.au/R/help/att-11177/KW.strat.2005.R
I used it, and it seems to work. In some cases some elements of
weight may become Inf.
Heinz
At 1
See the thread "stratified Wilcoxon available?" at
http://tolstoy.newcastle.edu.au/R/help/05/08/11143.html
Heinz
At 11:21 13.04.2010, Kay Cichini wrote:
hello everyone,
can anybody tell me if there is a kruskal-wallis, or another non-parametric
test, that can deal with multiple samples that
Once I suggested to BMDP to introduce a module-statement that would
direct the syntax to the specified module (1L, 2L, ...), so that all
syntax could reside in one job, but they did not like that idea.
Heinz
At 14:55 19.02.2010, Terry Therneau wrote:
I used both BMDP and SAS in my earlier y
Did you consider to look at the help page for merge?
h
At 22:01 13.01.2010, karena wrote:
hi, I have a question about merging two files.
For example, I have two files, the first file is like the following:
id trait1
110.2
211.1
39.7
610.2
78.9
10 9.7
11 10.2
The second
If your matrix were a data.frame, it could work like this:
df <- data.frame(age=1:100, sex=rep(1:2, 50))
with(df, by(age, sex, mean))
without the "lapply, sapply etc. family".
h
At 18:16 13.01.2010, Doran, Harold wrote:
with(yourdataframe, tapply(age,sex,mean))
-Original Message-
Fro
Instead of an answer, may I add question
c) can someone state that it is impossible to generate static HTML
help pages under Windows?
At 21:40 22.12.2009, Steve Rowley wrote:
I upgraded to R2.10.1pat and discovered, along with everybody else,
that static HTML pages are no longer the default.
Frank,
the example on http://biostat.mc.vanderbilt.edu/DynamitePlots is
nice, and I agree with you. Just one minor question: would it be
possible to mention as "An article with nice dot plots" a paper,
which is freely available?
Heinz
At 14:56 03.12.2009, Frank E Harrell Jr wrote:
Bar chart
At 18:17 28.09.2009, hadley wickham wrote:
> many thanks for your answer and for the enormous work you put into plyr, a
> really powerful package.
> For now, I will solve my problem with a variable label attribute, I usually
> attach to columns in data frames. I asked the list, because I thought,
Hadley,
many thanks for your answer and for the enormous work you put into
plyr, a really powerful package.
For now, I will solve my problem with a variable label attribute, I
usually attach to columns in data frames. I asked the list, because I
thought, I am overlooking something trivial, sin
28.09.2009, Henrique Dallazuanna wrote:
Heinz,
Try this:
lapply(DF, function(x)names(DF)[as.numeric(gsub("[^0-9]", "",
deparse(substitute(x))))])
On Mon, Sep 28, 2009 at 8:43 AM, Heinz Tuechler wrote:
> Thank you, Henrique,
>
> my example was simplified. In a more comple
, Henrique Dallazuanna wrote:
You can use names insteed:
DF <- data.frame(a=1:3, b=2:4)
lapply(names(DF), function(x){
print(x)
DF[x]
})
On Mon, Sep 28, 2009 at 8:22 AM, Heinz Tuechler wrote:
> Dear All,
Dear All,
to produce output of several columns of a data frame, I tried to use
lapply and also l_ply. In both cases, I would like to print a header
line containing also the name of the respective column in the data frame.
For example, I would like the following
lapply(data.frame(a=1:3, b=2:4
"weeks", class =
"difftime"))
}
You can use difftime explicitly so you can control the units.
> c(as.POSIXct('2009-09-01'), as.POSIXct('2009-10-11'))
- as.POSIXct('2009-08-31')
Time differences in days
[1] 1 41
> difftime(c(as.POSIXc
Dear All,
what determines if a difference between POSIXct objects gets
expressed in days or seconds?
In the following example, it's sometimes seconds, sometimes days.
as.POSIXct('2009-09-01') - as.POSIXct(NA)
Time difference of NA secs
c(as.POSIXct('2009-09-01'), as.POSIXct(NA)) -
c(as.POSI
Peng, based on a suggestion, Frank made years ago (18.7.2006), I use
one attribute that contains all further attributes, I want to assign
to variables. It's necessary to create your own class and subsetting
method, so that this attribute does not get lost. Together with some
functions I use lab
At 20:18 13.07.2009, Charles C. Berry wrote:
On Mon, 13 Jul 2009, Heinz Tuechler wrote:
Dear All,
since years I am struggling with Surv objects in data.frames. The
following seems to have to do with it.
See below the modified example from the help page of survSplit. The
original works, as
Dear All,
since years I am struggling with Surv objects in data.frames. The
following seems to have to do with it.
See below the modified example from the help page of survSplit. The
original works, as expected. If, however, a Surv object is added to
the data.frame, each record gets doubled.
At 07:40 21.06.2009, J Dougherty wrote:
[...]
There are other ways of regarding the FET. Since it is precisely
what it says
- an exact test - you can argue that you should avoid carrying over any
conclusions drawn about the small population the test was applied to and
employing them in a broad
Dear Terry,
sorry that I did not see this change, and thank you for it. It is very useful.
Heinz
At 15:28 22.05.2009, Terry Therneau wrote:
> Further I appreciate your new function survmean(). At the moment it
> seems to be intended as internal, and not documented in the help.
The computatio
Dear Terry,
first of all, thank you for your immense work. At the moment, I don't
have a small reproducible example for the ratetable difficulty I
have. I will work on it. Maybe the error message I get is of some
information to you.
Error in match.ratetable(m[, rate], ratetable) :
Data has
Thank you Richie. I had seen this before, but my impression is that
it's not up to date. I gave a wrong version number in my previous
post. I changed from 2.34-1 to 2.35-4. For example, the plot.survfit
function lost it's legend parameters, but I don't see this in the changelog.
Thanks again,
Dear All,
since some days I try to use the versions 2.35-4 of the survival
package instead of versions 2.31, I had installed until now. Several
changes in print.survfit, plot.survfit and seemingly in the structure
of ratetabels effect some of my syntax files.
Is there somewhere a documentatio
At 14:50 12.05.2009, Terry Therneau wrote:
*I´m writing to ask you how can I do Survivals Curves using Time-dependent
*covariates? Which packages I need to Install?*
This is a very difficult problem
statistically. That is, there are not many
good ideas for what SHOULD be done. Hence, there
At 11:10 16.04.2009, giuseppef...@libero.it wrote:
Dear all, I have a database x,y,value imported in R with read.table:
dati<-
read.table("dati.dat")
value is a categorical data (land use) and i want to
plot in the same colour the same land use. It is possible with R. Thanks a lot
to see if it is a factor first. Here is
the definition:
)> as.factor
function (x)
if (is.factor(x)) x else factor(x)
You can always list out what the function does to get a better
understanding of how it works.
On Wed, Apr 8, 2009 at 8:16 AM, Heinz Tuechler wrote:
> Thank you, Jim. I se
ote:
as.factor does not accept levels as an argument. use the first form
that you have
factor(ch1, levels=ch1)
On Wed, Apr 8, 2009 at 7:36 AM, Heinz Tuechler wrote:
> Dear All,
>
> to my surprise as.factor does not accept a levels argument. Maybe I did not
> read the documentation w
Dear All,
to my surprise as.factor does not accept a levels argument. Maybe I
did not read the documentation well enough. See the example below. I
wanted to use ch1 as factor in the newdata argument of survfit, so I
assumed that I could write as.factor(ch1, levels=ch1), since the
order should
$label
DF[] <- lapply(DF, "[", drop=TRUE)
attributes(DF$ff)$label
Thanks,
Heinz
At 14:36 19.03.2009, Dieter Menne wrote:
Heinz Tuechler gmx.at> writes:
>
> to drop unused factor levels two ways are outlined in R-help. In both
> cases a label attribute is lost.
Brian
Dear All,
to drop unused factor levels two ways are outlined in R-help. In both
cases a label attribute is lost.
The same happens, when using car:::recode.
Is there a simple way to avoid losing attributes?
Thanks,
Heinz
## example
ff <- factor(substring("statistics", 1:10, 1:10), levels=lett
At 15:28 26.02.2009, Terry Therneau wrote:
> plot(survfit(fit)) should plot the survival-function for x=0 or
> equivalently beta'=0. This curve is independent of any covariates.
This is not correct. It plots the curve for a hypothetical
subject with x=
mean of each covariate.
Does this me
Dear Charles,
yes, your solution does what I need.
Maybe, it offers also a way to use the compare package with Surv objects.
Thank you,
Heinz
At 23:30 19.12.2008, Charles C. Berry wrote:
On Fri, 19 Dec 2008, Heinz Tuechler wrote:
Dear David!
Thank you for your response. I like csv files
when I tried the compare package, I had no
success comparing data.frames containing Surv objects.
Thanks again
Heinz
At 22:31 19.12.2008, David Winsemius wrote:
On Dec 19, 2008, at 2:04 PM, Heinz Tuechler wrote:
Dear All,
trying to write a data.frame, containing Surv objects to a csv-f
Dear All,
trying to write a data.frame, containing Surv objects to a csv-file I get
"Error in dimnames(X) <- list(dn[[1L]], unlist(collabs, use.names = FALSE)) :
length of 'dimnames' [2] not equal to array extent".
See example below.
May be, I overlooked something, but I expected
that also d
At 14:24 09.11.2008, Peter Dalgaard wrote:
Heinz Tuechler wrote:
Dear All!
If I try to compare the attributes of two
objects, I find a surprising behaviour of
attr.all.equal(). With identical attributes I
receive the answert NULL. If the attributes
differ, the answer is as expecxted and
At 13:26 09.11.2008, Leon Yee wrote:
Hi, friends
Is there any functions for object comparing? For example, I have two
list objects, and I want to know whether they are the same. Since the
the components of list are not necessary atomic, this kind of comparison
should be recursive. Does this k
Dear All!
If I try to compare the attributes of two
objects, I find a surprising behaviour of
attr.all.equal(). With identical attributes I
receive the answert NULL. If the attributes
differ, the answer is as expecxted and differences are shown.
all.equal(attributes(), attributes()) instead
At 06:25 09.11.2008, Prof Brian Ripley wrote:
On Sat, 8 Nov 2008, Heinz Tuechler wrote:
At 08:01 08.11.2008, Prof Brian Ripley wrote:
We have no idea what you understood (you didn't tell us), but the help says
encoding: character vector. The encoding(s) to be assumed when 'file
sv and re-reading it. This works, but
additional information like labels(), I have to tranfer in a second step.
The best way I could immagine, would be some
function, which marks every character string in
the whole structure of a data.frame, including all attributes, as latin1.
On Sat, 8 Nov 2
At 16:52 07.11.2008, Prof Brian Ripley wrote:
On Fri, 7 Nov 2008, Peter Dalgaard wrote:
Heinz Tuechler wrote:
Dear Prof.Ripley!
Thank you very much for your attention. In the given example Encoding(),
or the encoding parameter of read.csv solve the problem. I hope your
patch will solve also
At 13:34 07.11.2008, Peter Dalgaard wrote:
Heinz Tuechler wrote:
> Dear Prof.Ripley!
>
> Thank you very much for your attention. In the given example Encoding(),
> or the encoding parameter of read.csv solve the problem. I hope your
> patch will solve also the problem, when I read
Maybe this?
http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f
At 11:23 07.11.2008, Shubha Vishwanath Karanth wrote:
Content-Type: text/plain
Content-Disposition: inline
Content-length: 569
Hi R,
I have certain checkings, which gives FALSE, bu
characters), including levels of factors to latin1?
Heinz Tüchler
ASCII characters are not marked as Latin-1 nor UTF-8.
On Fri, 7 Nov 2008, Heinz Tuechler wrote:
Dear All,
Encoding() goes beyond my understanding. See
the example. I would expect from reading the
help for Encoding() that strsplit pre
Dear All,
Encoding() goes beyond my understanding. See the
example. I would expect from reading the help for
Encoding() that strsplit preserves the encoding
for each resulting element, but for simple letters it gets lost.
Also it seems that an Encoding() cannot be
declared for simple letters.
there is a problem in the use of
the CHARSXP cache: if I save the session then x0
== x becomes true when I reload it, even though the encodings remain different.
I've found the immediate cause and will change this in R-patched shortly.
On Thu, 6 Nov 2008, Heinz Tuechler wrote:
Dear All!
Re
Dear All!
Reading character strings containing an "umlaut"
from a csv-file I find a (to me) surprising
behaviour in R 2.8.0, that I did not notice in R 2.7.2.
A comparison by "==" results in FALSE, while grep does find the aggreement.
See the example below.
The crucial line is x=="div 1-2 Verä
Mark
My experience was similarly frustrating. Maybe formulating the
problem a bit differently could help to clarify it.
State it like this:
Someone chooses an amount of money x. He puts 2x/3 of it in one
envelope and x/3 in an other. There is no assumption about the
distribution of x.
If you
Dear Markus!
Since I did not see an answer yet, my suggestion is to use coxph with
the groups variable numerically coded as the only independent variable.
Heinz
At 13:39 21.04.2008, Markus Kreuz wrote:
>Hello,
>is there a R package that provides a log rank trend test
>for survival data in >=3 t
Congratulation Bill for this very clear and useful explanation.
Heinz
At 14:58 08.04.2008, [EMAIL PROTECTED] wrote:
>'mode' is a mutually exclusive classification of objects according to
>their basic structure. The 'atomic' modes are numeric, complex,
>charcter and logical. Recursive objects ha
At 23:07 01.03.2008, AbouEl-Makarim Aboueissa wrote:
>Dear ALL:
>
>I have two quick questions about how to perform some steps in R.
>Could you please see the attached MS file if the data not clean
>enough in this email.
>
>Thank you so much for all your helps.
>
>
>Abou
>
>
>
>Here it is:
>==
At 15:22 22.02.2008, Henrique Dallazuanna wrote:
>Try this:
>
>grep("330", levels(cc), value=T)
Could you please explain in a little more detail,
how this answers the original question?
"I would have expected 330 to fall into (313,330] category.
Can you please advice what do I do wrong?"
Thank
Maybe this thread is of use for you.
How to access results of survival analysis Xiaochun Li (06 May 2006)
http://tolstoy.newcastle.edu.au/R/help/06/05/26713.html
Heinz
At 21:28 04.02.2008, Xing Yuan wrote:
>Hi all,
>
>Does anybody know how to output the mean/median survival time from survfit?
>Th
At 11:32 16.01.2008, Jim Lemon wrote:
>(Ted Harding) wrote:
> > On 16-Jan-08 08:45:04, Martin Maechler wrote:
> >
> >>>"RM" == Ron Michael <[EMAIL PROTECTED]>
> >>>on Wed, 16 Jan 2008 00:14:56 -0800 (PST) writes:
> >>
> >>RM> Hi all,
> >>RM> Can anyone tell me why I am getting d
92 matches
Mail list logo