Displaying 20 results from an estimated 400 matches similar to: "x axis"
2005 Oct 19
6
forrest plot
Hi,
can you tel me how can I make a Forrest Plot with R?
It is possible and easy or are there a more practical free software available?
Than you
Mic
[[alternative HTML version deleted]]
2006 Jun 27
2
Survival
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20060627/84d9bd54/attachment.pl
2007 Jun 17
1
error bars on survival curve
I am using plot(survfit(Surv(time,status) ~...) and would like to add
error bars rather than the confidence intervals. Am I able to do this
at specified times? e.g. when time = 20 & 40.
leukemia.surv <- survfit(Surv(time, status) ~ x, data = aml)
plot(leukemia.surv, lty = 2:3,xlim = c(0,50))
#can i add error bars at times 20 & 40?
legend(100, .9, c("Maintenance", "No
2005 Oct 17
1
x axis
Hello,
I write to know how can I modify the x axis : when I plot a survival object, R plots a graph with x values = 0, 10, 20, 30 while I want a graph with values 0, 6, 12, 18, 24 in the x axis. How can I do this? In R 2.1.1 version there was "time.inc" in survplot, but in version R 2.2.0 there isn't it!
I am sorry for my english and I hope that you understand my problem.
Thank you
2010 May 23
3
"order" issue
Hi everybody, this is a real dummy thing.
I sorted a matrix based on a given column, and what I get is right, until it comes to columns of negative and positive values; than, "order" orders everything from max to min in the negative values, and then AGAIN from max to min in the positive values!!!
Why isn't everything order from max to min, and that's it?
Thank you!!!
Attached
2009 Nov 06
1
Survival Plot in R 2.10.0
I would like to produce a complimentary log-log survival plot with
only the points appearing on the graph. I am using the code below,
taken from the plot.survfit page of help for the the survival package
(version 2.35-7).
I am running in R 2.10.0 on Windows XP, and the list of packages
following
the error is loaded. Is there some specific 'type= ' syntax, or an
additional parameter
that
2009 Feb 05
4
See source code for survplot function in Design package
Dear R users,
I know one way to see the code for a hidden function, say function_x,
is using default.function_x (e.g. summary.default). But how can I see
the code for imported packages that have no namespace (in this case
Design)?
Many Thanks
Eleni
2012 Nov 06
3
Survplot, Y-axis in percent
Hi
I am a new fan of R after getting mad with the graphical functional in SPSS.
I have been able to create a nice looking Kaplan Meyer graph using Survplot
function.
However I have difficulties in turning the y axis to percent instead of the
default 0-1 scale.
Further I have tried the function yaxt="n" without any results. Any help in
this matter will be appreciated.
The code is
2010 Jan 29
1
help on drawing right colors within a grouped xyplot (Lattice)
Hi,
I've lost my mind on it... I have to scatterplot two vectors, grouped by a third variable, with two different dimensions according to whether each cell line in the plot is sensitive or resistant to a given drug, and with a different color for each of 9 tissues of origin.
Here's what I've done:
2009 May 18
1
discrepancies between stata and r for a cox regression
Hello
I would like to develop the use of R.
Trying R and more particulary the cox model, I am surprised by discrepancies between results with stata and R for a cox model
With the same data base, I get a hazard ratio (4.82) that is not the same obtained with stata (4.52)
You will find attached the file leukemia.dta I used (Stata)
Here are the codes for R
library(foreign)
2009 Oct 26
1
Unable to get Legend with survplot rms package
Hello,
I apologize for the post as I am certainly overlooking a simple
solution to my difficulties with getting a legend to print on a
survplot from the rms package.
I am plotting the following:
survplot(survest(fita), n.risk=T, conf='none', cex.n.risk=.85, dots=T,
col='gray10', lty=2)
survplot(survest(fit), n.risk=F, conf='none', add=T)
survplot(survest(fitb), n.risk=F,
2006 May 30
1
position of number at risk in survplot() graphs
Dear R-help
How can one get survplot() to place the number at risk just below the
survival curve as opposed to the default which is just above the x-axis?
I tried the code bellow but the result is not satisfactory as some numbers
are repeated several times at different y coordinates and the position of
the n.risk numbers corresponds to the x-axis tick marks not the survival
curve time of
2010 Mar 26
2
how to make stacked plot?
Dear friends:
I'm interested to make a stacked plot of cumulative incidence. that's, the cuminc model is fitted [fit=cuminc(time, relapse)] and cumulative incidence is in place. I'd like to stack the cuminc plots (relapse of luekemia and death free from leukemia, for example) , then the constituent ratio of leukemia relapse and treatment related mortality is very clear. Can
2011 Jul 21
1
Design Survplot performance
Hi,
I have a Cox PH model that's large for my server, 120K rows, ~300 factors
with 3 levels each, so about 1000 columns. The 300 factors all pass a
preliminary test of association with the outcome. Solving this with cph from
Design takes about 3 hours. I have created the fit with x=T, y=T to save the
model data.
I want to validate the PH assumption by calling survplot(fit, gender=NA,
2012 Mar 27
1
survplot function
Dear R-helpers
I am wondering if there is an option to the survplot function in the design
package that allows for drawing Kaplan-Meier plots starting from 0 instead of
1, similar like fun = 'event' in the standard plotting function used on a
survfit object.
I apologize in advance for having missed any obvious informational sources but
I really didn't find anything in the
2012 Dec 03
1
Confidence bands with function survplot
Dear all,
I am trying to plot KM curves with confidence bands with function survplot under package rms.
However, the following codes do not seem to work. The KM curves are produced, but the confidence bands are not there.
Any insights? Thanks in advance.
library(rms)
########data generation############
n <- 1000
set.seed(731)
age <- 50 + 12*rnorm(n)
label(age) <- "Age"
2004 Nov 23
6
Weibull survival regression
Dear R users,
Please can you help me with a relatively straightforward problem that I
am struggling with? I am simply trying to plot a baseline survivor and
hazard function for a simple data set of lung cancer survival where
`futime' is follow up time in months and status is 1=dead and 0=alive.
Using the survival package:
lung.wbs <- survreg( Surv(futime, status)~ 1, data=lung,
2003 Jan 16
1
help drawing kaplan-meier plot starting from 0
Dear help news reader,
I'm trying to draw a Kaplan-Meier curve and would like to ask the news
group for some help
Supposing I have study comapring two drugs, "A", and "B" and I recorde the
time to get to the clinical endpoint (Time), in my case becommming virus free.
I have setup the following frame:
Time c Drug
1 5 1 A
2 7 1 B
3 2 1 A
4 10 1
2012 Dec 27
1
Conjunction and disjunction in pubmed query
Hi:
I am trying to query pubmed abstracts using the following syntax:
url= "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?"
search = paste(url, "db=pubmed&term=", queryTerm1, "+AND+",
queryTerm2,"+OR+",queryTerm3, "+OR+", queryTerm4,
"[abstract]&retmax=100&usehistory=y", sep="")
docId <-
2008 Dec 16
2
"Dotted lines at the end of the KM-curve"
R-ers!
Referees demand that the line in the KM-curve should be changed to
dotted at the point where standarerror is <= 10 %. I don't think it's
a good habit but I urgently need to implement such a thing in R with
survfit, survplot or another program. They also want numbers at risk
below the curve
Some help, please....
Fredrik
########################
Fredrik Lundgren