similar to: Barplot2 Title

Displaying 20 results from an estimated 1000 matches similar to: "Barplot2 Title"

2005 Apr 15
2
abbreviate or wrap dimname labels
For a variety of displays (mosaicplots, barplots, ...) one often wants to either abbreviate or wrap long labels, particularly when these are made up of several words. In general, it would be nice to have a function, abbreviate.or.wrap <- function(x, maxlength=10, maxlines=2, split=" ") { } that would take a character vector or a list of vectors, x, and try to abbreviate or wrap
2005 Apr 14
3
Wrapping long labels in barplot(2)
I am using barplot, and barplot2 in the gregmisc bundle, in the following way: barplot2(sort(xtabs(expend / 1000 ~ theme)), col = c(mdg7, mdg8, mdg3, mdg1), horiz = T, las = 1, xlab = "$ '000", plot.grid = T) The problem is that the values of 'theme', which is a factor, are in some cases rather long, so that I would like to wrap/split them at a space once they
2005 Jul 26
3
text on some lines
Hi, I would like to write text on 2 lines for example. For example, if you have a long sentence and you want to cut it at the 45 caracter and put the continuation underneath! Is it possible? Thanks Sabine --------------------------------- [[alternative HTML version deleted]]
2005 Jun 06
2
Polar Graph
Hi, I would like to do a polar graph (=star graph) ! is that graph existing on R? Because more softwares can do that but I don't found it on R! Thanks Sabine --------------------------------- ils, photos et vidéos ! [[alternative HTML version deleted]]
2005 Jun 06
1
Similarity between variables
Hi, I would like to know the similarity between variables, but I don't exactly how begin and as from what dataframe or matrix! I have a matrix where in row I have 'Good', 'Medium','Bad' and in columns I have my Criterions ! What function and package should I use? Thanks a lot Sabine --------------------------------- ils, photos et vidéos ! [[alternative
2005 May 25
1
plot 3D
Is it possible to do a graphic in 3D? This is my source: but this one is on 2D and at moment variables put on other variables, so it is difiicult to differentiate them visibly. plot(corresp(data,nf=2),xlim=c(-1,1),ylim=c(-1,1)); Thanks Sabine --------------------------------- ils, photos et vidéos ! [[alternative HTML version deleted]]
2005 Jun 09
1
color on barplot
Hello, On my barplot, I have on the axis y, the names of the rows of my matrix r_mat! is it possible to change the color of these names on my barplot? barplot2(t(r_mat),beside=TRUE,horiz=TRUE,plot.grid=TRUE,xlab="R",font.lab=4,las=2,xlim=c(0,1)) thanks, Sabine --------------------------------- [[alternative HTML version deleted]]
2007 Oct 31
2
ylim in barplot2 function?
Hi list, I'm using barplot2 form the gplots package to plot a few numbers (I want to add SD bars later). However, I would like the y-axis not to start from 0 but 500. When I add the parameters YLIM, something goes wrong. The graph is not 'cut off' at 500. Instead the bars seems to sink trough the bottom of the graph. Because its a little hard to explain, here is a self-containing
2003 Apr 16
2
barplot2
Hello, I get a nice looking barplot using the barplot2 function in the gregmisc package: body2 <- barplot2(hh3, beside = TRUE, col = c("mistyrose", "lightcyan"), .... cex.names = 1.0, plot.ci = TRUE, ci.l = cil, ci.u = ciu, plot.grid = TRUE) box() However, obviously I lose the collors when converting from ps to a pdf (outside of R)
2006 Mar 01
1
Width of bars in barplot2
I'm using barplot2 to plot some data. Is there any way to determine the width of the bars in the generated plot? I know that barplot2 returns a list of the coordinates of the center of each bar, but since there is some white space between each bar, I don't know how to get the width of each bar. Jamie
2004 Nov 24
1
reshaping of data for barplot2
Dear All, I have the following data coming out from s <- with(final, summarize(norm, llist(gtt,fdiab), function(norm) { n <- sum(!is.na(norm)) s <- sum(norm, na.rm=T) binconf(s, n) }, type='matrix') ) ie gtt fdiab norm.norm norm.norm2 norm.norm3 18
2005 May 18
2
R -SQL
Hello, I've got a problem in a sql query! for(j in 1:length(criteria$Title)) { graphe_par<-sqlQuery(channel,"select q.type,crit.Title, r.Value from criteria crit, reply r,question_reply qr, question q, question_criteria qc, form_question fq where qr.reply=r.ID and qr.question=q.ID and qc.question=q.ID and crit.ID=qc.criteria and fq.question=q.ID and fq.form=4 and
2007 Aug 30
1
Barplot2 using for loop, how to adjust margins?
Hi R-users, I inted to make multiple plots using for loop. The question is how can I adjust the left hand side margin of the plot according to the names.arg argument in barplot2. In every plot I have different annotations in the y axis and they vary in length. Now when I have fixed margins opar <- par(mar=c(3,15,0,2)... I get the same margins in all of the plots. That leaves lots of white
2007 Mar 01
2
barplot2, gap.barplot
Hello, I try to handle a simple bar-plot, but it turns out to be not as simple as I thought. 1) I have created a .dat-File, e.g. test.dat: DATA DATA-SEM 2.2 0.32 6.2 1.30 12.7 1.61 48.6 3.08 4.1 0.86 4.5 0.32 1.5 1.13 1.2 1.08 The first row is the data represented by bars. The second row deals with the Standard Error of Mean. The lines correspond to time-intervals of experiments. 2) I now
2009 Mar 22
1
barplot2 x-axis
Dear R users, I am trying to build a barplot2 graph however I can't find a way of defining the scale for the x-axis. I would like to show in my x-axis only the numbers 0, 25, 50, 75 etc. (so far R is giving me a random scale hard to interpret and it doens't look nice...). Could anyone advise me on how to do this please, it would be a great help! Thank you. Below I show the code I have
2005 Apr 12
1
Cumulative Points and Confidence Interval Manipulation in barplot2
R-Users, I am working with gplots (in gregmisc bundle) plotting some posterior probabilities (using barplot2) of harvest bag limits for discrete data (x-axis from 0 to 12, data is counts) and I ran into a couple of questions whose solutions have evaded me. 1) When I create and include the confidence intervals, the lower bound of the confidence intervals for several of the posterior probabilities
2012 Apr 24
2
Positioning main title
Hello, I have a barplot where each row has quite long texts and I have used "par" to make some room in the left: par(mar=c(0, 17, 3, 0), oma=c(0, 0, 0, 0)) barplot2(prueba, main = l, col=colores, horiz=TRUE,las=1, cex.names=.7) My problem is that main text appears justified to the plot. I want to put it in the middle of the image, and find a way to sort it out with mtex par(mar=c(0,
2005 Jun 01
1
x11 and pseudo-color
for some reason the following message seems not to have reached the list in the first try, at least I can't find it. my apologies if this is my fault: we are running R under Solaris with SunRay Terminals, which are set to 8 bit color to comply with some other software. In this configuration, X11() opens with colortype=true, i.e., it is not recognized that actually the display is only 8
2010 Dec 10
2
Reorder factor and address embedded escapes
I am trying to reorder a factor variable that has embedded escape characters. The data begins as a csv file with a factor that includes embedded new line characters. By the time read.table has rendered it into a data frame, the variable now has an extra backslash. e.g. "This\nLabel" in the csv becomes "This\\nLabel" in the data frame. So, I am trying to reorder the
2000 Apr 07
1
x11 colortype problems ('gray' is broken?) (PR#512)
Hi, I occasionally run out of color in my X11 terminal. At this point, R will issue this error message: Error: X11 cannot allocate additional graphics colors. Consider using colortype="pseudo.cube" or "gray". An immediate x11(colortype="pseudo.cube") doesn't work as the colortype seems to be shared among the different x11 plotting windows. So I have