Hi - I am using the survfit() function to produce Kaplan-Meier
survival curves for several different groups.
survfit (Surv() ~ cohort, data=d)
Everything works fine, but I'd like to do something different.
I have a 12 month survival curve (base) and I also have two survival
curves based on some
nique(f))
>[1] c b a c b a
>Levels: c b a ## not your desired order
>
>Again, please consult the docs and perhaps a tutorial or two as
>necessary.
>
>-- Bert
>
>
>
>On Wed, Aug 15, 2018 at 8:22 AM, Stats Student
>
>wrote:
>
>> Many thanks, Bert.
>&g
Hi, I am generating multiple charts with facet_wrap() and what what I see,
R/ggplot sorts the panels by the facet variable. So adding an index to the
facet variable (1 - bucket, 2 - bucket, etc) does solve the sorting issue but
it's ugly.
I also read this post which, if I understand correctly,
Hi, I'm wondering whether it is possible to change the orientation of the PDF
in the middle of the document. In other words, pages 1,2,3 - portrait, pages
4,5 - landscape, etc.
This is how I call it -
pdf (file, paper="US") or USr for landscape
Thanks!
_
Hi, I'm using scale_y_continuous with sec.axis and it's doing what I need but I
don't understand how it picks which of the two series becomes the secondary.
Does anyone have any insight into this?
Thanks!
__
R-help@r-project.org mailing list -- To U
;
>
>
> Bert Gunter
>
> "The trouble with having an open mind is that people keep coming along and
> sticking things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
>
> On Wed, Jun 27, 2018 at 3:56 PM, Stats Student <
Rnw files) is very powerful, but there are many
>other tools as well (e.g. bookdown) depending on your preferences.
>
>[1] https://cran.r-project.org/web/views/ReproducibleResearch.html
>
>On June 27, 2018 1:53:58 PM PDT, Stats Student
> wrote:
>>Hi, I'm looking for a way
Hi, I'm looking for a way to add lines to a report. To be clear, I don't want
to add lines to any specific plot, but instead to add line(s) to the page
itself - e.g. add a line to the footer area, above the actual footer text.
Any thoughts on how to do this? Many thanks.
__
mpt someone to dig a little.
>
>On June 14, 2018 8:07:19 AM HST, Stats Student
> wrote:
>>Thanks for the replies. Wasn't aware that Gmail on Android sent HTML
>by
>>default, apologies.
>>
>>Storing the tableGrob-s in a list worked but for some reason
>>
gt;L1<-vector( "list", N )
>for (i in seq.int( N )) {
> L1[[i]] <-tableGrob( ... )
>}
>
>PS Post using your email program "plain text" mode... HTML gets
>stripped anyway and that often leads to partial corruption of your
>message. Read the Posting Guide.
&
Hi, I'm trying to generate tableGrobs in a loop, store them in a list so I
can use it in a call to gtable_combine().
L1<-list()
for (i in seq( ... )) {
L1[i] <-tableGrob( ... )
}
gtable_combine(L1, along=1)
On the assignment inside the loop, I get "number of items to replace is not
a multiple
On Tue, 17 Apr 2012 10:44:40 -0400, Denis Chabot wrote:
>> Hi,
>>
>> I cannot make a reproducible example easily for my problem, so
I'll
>> describe it as best as I can.
YOU KIND OF NEED ONE...
>>>
a=test1$période[21]
>>
>>> b=test2$date[22]
>> a x
>> in-left: 5px;
width: 100%;">b
>>
>
elieve helps.
I think you need to consult a statistician or someone who has taken
the time to read that "statistical mumbo jumbo" you don't want to
learn. This mailing list is not set up to be a tutorial site.
I have access to stats advice, but I don't (a) want to turn up to them
a data?
Please don't shout!! happy to be pointed to a reference but would prefer
one in common english not some stats mumbo jumbo!
Calum
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posti
Indeed, they should give the same results, and hence I was worried to
see that the results were not that same. Suffice it to look at
standard errors and p-values: they do differ, and the differences are
not really that small.
Thanks,
Stats Wolf
On Thu, Jun 24, 2010 at 2:39 PM, Joris Meys
which
WLS is just a special case"?
Best,
Stats Wolf
On Thu, Jun 24, 2010 at 12:49 PM, Joris Meys wrote:
> Isn't that exactly what you would expect when using a _generalized_
> least squares compared to a normal least squares? GLS is not the same
> as WLS.
>
> http://www.a
ou please explain why? Are these different
types of weights?
Many thanks in advance,
Stats Wolf
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide
s between the
subsequent levels can be, I think, modeled with polr:
fit<-polr(result~1)
summary(fit)
Could you please explain me what do the coefficients from the above
summary mean? And how I could use the t-test (eg, what are degrees of
freedom, for example? What is the exact hypothesis be
eed when choosing the
optimum model for a situation that calls for mixed effects? Of course,
the example above is overly simplistic, yet such situations can occur
-- from a complex model with a couple of random terms one can finally
get to a simple fixed-effects model. Please comment.
T
. However, I cannot find these cut-off
values. I use the function lda of the MASS package, although I have
also looked at some other procedures for discriminant analysis, and
equally failed.
Thanks,
Stats Wolf
__
R-help@r-project.org mailing list
https
am do look at means
when interpreting the results) I would like to make some kind of
multiple comparisons, if it is at all possible.
Any suggestions if I am doing anything wrong and if not, what could I
do to get these multiple comparisons?
Thank you,
Stats
I am struggling with a simple repeated-measure model:
fit<-lme(trait~year * A, random = ~1|subj/year)
A being a factor with three levels. I got have the following results
for anova(fit):
numDF denDF F-value p-value
(Intercept) 1 126 2471.4720 <.0001
year 2060
ight try adding the paper option to your pdf command because it
> eliminates that huge margin on top of the output
>
> pj
>
> On Wed, May 13, 2009 at 11:47 PM, Stats Wolf wrote:
>> Dear colleagues,
>>
>> Saving a plot with pdf gives a very nice result:
>>
>> p
Dear colleagues,
Saving a plot with pdf gives a very nice result:
pdf("myplot.pdf")
par(font=1,family='serif')
plot(pressure)
dev.off()
Doing the very same with other formats (png, jpeg, tiff) gives far
worse results. Is there anything to do to make a plot in some other
format than pdf look like
Hi,
I am comparing three treatments. The data come from a longitudinal study,
and for each treatment I have only 1 case, on which the observations across
20 years are made. My main aim is to compare the three treatments, but the
effect of time is of interest as well. Which of the many R functions
25 matches
Mail list logo