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
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.
>>
>> I did -
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
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
;
>
> 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 <
>
ery 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 to add lines to a
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.
t 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
>>grid.arra
r( "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.
>
>On
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
11 matches
Mail list logo