similar to: How to make truncated y axis (cut mark) in R plot?

Displaying 20 results from an estimated 40000 matches similar to: "How to make truncated y axis (cut mark) in R plot?"

2007 Aug 01
3
"Cut marks" on a plot's y-axis to indicate it is a truncated axis
Hi, I've plotted a Kaplan-Meier curve but the curves only range from 0.7 to 1 on the y-axis. Therefore I have used: - ylim=c(0.7,1) [although I think convention dictates that you plot 0.5 to 1 to show the median? A few papers I've read have done this]?? BUT, I would like a symbol like // (but rotated 90 degrees) to indicate that the y-axis has been truncated. I'd need to be able to
2008 Jan 23
2
Parametric survival models with left truncated, right censored data
Dear All, I would like to fit some parametric survival models using left truncated, right censored data in R. However I am having problems finding a function to fit parametric survival models which can handle left truncated data. I have tested both the survreg function in package survival: fit1 <- survreg(Surv(start, stop, status) ~ X + Y + Z, data=data1) and the psm function in package
2011 Feb 01
3
Matching patients
May I ask a clinical question? For a trial, we have a treatment group of small size, say 30 patients. We want to selectmatching control patients from a bigger group (100 patients) in terms of several clinical variables, such as age, tumor stage etc. This practice is to select the closest matching set of control cases. I wonder if R has any routine or package that can help with this problem.
2010 Dec 09
2
RES: Barplot with "Independent" Lines Y axis
Oh sorry. An example say lots more than words. The data below, when submitted to twoord.plot return the mentioned error. Rain are bars and Salt lines, the bars appear and the error occurs with the salt data. Point Rain Salt Fev/03 365.6 13 Mar/03 235 18 Abr/03 115.1 18 Mai/03 47.4 18.75 Jun/03 112 15 Jul/03 156.8 17 Ago/03 66.1 15 Set/03 149.8 14 Out/03 167,1 11.5 Nov/03 269.3 17.5 Dez/03 283.7
2007 Apr 12
3
Putting 2 breaks on Y axis
R plotting experts: I have a bivariate dataset composed of 300 (x,y) continuous datapoints. 297 of these points are located within the y range of [0,10], while 2 are located at 20 and one at 55. No coding errors, real outliers. When plotting these data with a scatterplot, I obviously have a problem. If I plot the full dataset with ylim = c(0,55), then I cannot see the structure in the data in
2012 Apr 26
2
How to plot graph with different scale (y axis) on same graph?
Hi, I have my data in below format. position var1 var2 2 .1 10 3 .29 89 12 .56 100 425 .34 1234 6546 .12 21 .... ..... ..... .... ..... ......
2008 Mar 03
2
How to make a break on y-axis of a histogram chart using R?
Attached is a histogram chart with a break on y-axis which my friend made for me using phot shop. Do anyone know how to make such a break using R? Thanks in advance. (See attached file: 2007 age distribution.doc) Hongsheng (Hank) Liao, Ph.D. Lab Manager Center for Quantitative Fisheries Ecology 800 West 46th Street Old Dominion University Norfolk, Virginia 23508 Phone:757.683.4571
2003 Jun 28
2
Truncating y axis
Hi folks, I want to have a y-axis using matplot where the y axis is truncated as shown schematically below: (msecs) 3000 | x ~ ~ 800 | x | | x | ----|----|----|----------------- 1 2 3 Position The ~ is supposed to stand for a curved line showing a break. The issue is that I want to plot the points shown by the
2013 Feb 25
3
How to plot 2 continous variables on double y-axis with 2 factors: ggplot2, gplot, lattice, sciplot?
Hi, I have a data set with two continous variables that I want to plot MEANS (I am not intrerested in median values) on a double-y graph. I also have 2 factors. I want the factor combinations plotted in different panes. Dummy dataset: mydata <- data.frame(factor1 = factor(rep(LETTERS[1:3], each = 40)), factor2 = factor(rep(c(1:4), each = 10)), y1 =
2009 Feb 05
3
how to separate char and num within a variable
Hi all, I read in a column which looks like "chr1:000889594-000889638", and need to break them into three columns like "chr1:", "000889594" and "000889638". How shall I do in R. Thanks a lot for your suggestions! Bill
2006 Nov 30
1
scaling y-axis to relative frequency in multiple histogram (multhist)
Hi, I'm plotting a multiple histogram using the function multhist {package plotrix}, something like: library(plotrix) mh <- list(rnorm(200, mean=200, sd=50), rnorm(200, mean=250, sd=50)) multhist(mh) In this graph y-axis represents the frequency of observations.... but I would like it to be scaled into relative frequencies, does anybody know how to do this with multhist or similar
2010 Jun 13
1
Break in the y-axis
Hello all, I have been having trouble getting a break in my y-axis. All of my data points are up around 100-200, but the graph has to start at zero, so i would like to remove all the white space using a break symbol. I have been able to get the break and labels to be correct, however, I can't seem to get the data to match the axis anymore. I must be using the axis.break() in plotrix
2013 Apr 16
2
plot 2 y axis
Hi, I want to plot two variables on the same graph but with two y axis just like what you can do in Excel. I searched online that seems like you can not achieve that in ggplot. So is there anyway I can do it in a nice way in basic plot? Suppose my data looks like this: Weight Height Date 0.1 0.3 1 0.2 0.4 2 0.3 0.8 3 0.6 1
2010 Jan 10
1
How to control number of significant digits (figures) in y-axis?
Dear R users, I encounter a problem regarding number of significant digits on y-axis. Below is my basic code: myplotkid<-xyplot(expected_offspringnumber~afr|decade,groups=SES,data1, auto.key=list(space="right"),layout=c(9,1),xlab="",ylab="Offspring number", aspect="fill",scales=list(x=list(draw=F)),strip=T) >From this code, you can see there are 9
2017 Jul 23
2
R: How to multiplying y-axis ticks value by 100?
R: how multiplying y-axis ticks value by 100 (without put the % symbol next to the number) here:? plot (CI.overall, curvlab=c("Discharge", "Death"), xlab="Days", las=1)? P.S. So instead 0.00, 0.20 etc. the 0, 20 etc. Thank you in advance, Nic [[alternative HTML version deleted]]
2011 Mar 03
2
plot, y-axis, uneven scale???
Hello, I have a question about the y-axis of plots. Actually I had about 60 values. About 80 percent of these values are less than 0.2, then the other 20 percent values are more than 4,max is 10. So when I plot these values together, the y-axis's range will go 0 to 10, and my major values (80% values <0.2) will be pressed around 0 on the bottom, while other several dots will scatter in
2011 Jul 22
2
Lattice: distance of Y-axis label from plot
Basic question: I looked around quite a bit, still having a little trouble manipulating the distance between the Y-axis label and the plot. In this case, I would like to move the Y axis title closer to the plot. # Data tC <- textConnection(" Time Type1 Type2 Type3 1.3 .50 .10 .40 4.5 .45 .20 .35 5.2 .40 .30 .30 ") data1 <- read.table(header=TRUE, tC) data2 <-
2005 Jul 02
3
interrupted Y axis
I did not find an answer to my question after a quick search using the R search engine so thought I'd ask away: Does any know if there's a function exists to create an interrupted Y axis? What I mean by interrupted Y axis is that part of the Y axis has been removed or excised to permit one to see parts of the data in more detail. Perhaps an example will make this clear. Please go to
2012 Oct 23
4
Changing radii line type in radial plots
Hello all, Is it possible to change the radii line type in radial plots? I wasn't able to find anything online. Thanks, Bern -- View this message in context: http://r.789695.n4.nabble.com/Changing-radii-line-type-in-radial-plots-tp4647238.html Sent from the R help mailing list archive at Nabble.com.
2011 Nov 16
3
plotting a double y axis when x and y lengths differ
Hello All, Many thanks to the help I have received so far. Here is an example data set I hope to plot Data1 Year Data SE 1 2005 2 0.01 2 2006 4 0.01 3 2007 5 0.01 4 2008 2 0.01 5 2009 3 0.01 6 2010 6 0.01 Data2 Year Data SE 1 2006 32 1 2 2007 100 2 3 2008 60 4 4 2009 67 3 5 2010 8 1 Notice Data2 has one less years worth of data than Data1 (which is my