similar to: Can R make an usual dotplot

Displaying 20 results from an estimated 1000 matches similar to: "Can R make an usual dotplot"

2008 Oct 24
1
How to embed residual dot plots of BHH2::anovaPlot(...) into plotMeans(...)?
Dear R fans, I am preparing a lecture discussing the paper of Wilkinson and APA Task Force on Statistical Inference (1999, American Psychologist, 54, 594-604.) I'd like to demo their Figure 3B (p. 602) with R. That is to add plotMeans(...) with dots of BHH2::dotPlot(...) . Is there any elegant script to do the job? Thanks --------------- LI, Xiaoxu
2011 Oct 26
2
dotPlot with diagonal
Hi, I want draw a dotPlot. All works fine: (Seq <- matrix(c(1, 1, 6, 1, 2, 2, 5, 4, 3, 3, 4, 3, 4, 4, 3, 2, 5, 5, 2, 5, 6, 6, 1, 6), ncol = 6)) dotPlot(Seq[1,], Seq[2,], main = "Sequenz 1 und Sequenz 2", asp = 1) Is there a way to draw a small diagonal, begin at (0/0) to (6/6) (perhaps in red??) or must I use gimp? I have many dotPlots, so it is fine if R can do this. Thanks Joerg
2011 Feb 08
2
Frequency plot --- stacked symbols
Hi, We were wondering how we could make a stacked frequency diagram such as this one: http://msemac.redwoods.edu/~darnold/math15/liz.pdf We don't necessarily need the shaded "balls", other characters would be fine, such as stacks of x's. David
2011 Aug 17
2
dotchart vs. dotplot ... groups
I'm trying to create a dotplot with some grouping. I've been able to create what I want using dotchart (basic graphics), but can't quite get it using dotplot (lattice). I prefer to use lattice (or ggplot2) because I think it's a bit easier to control some other aspects of the plot appearance. Basically, w/ lattice I've not been able to get the y-axis label to include the
2007 Oct 19
2
Order of Dotplot output
I'm just learning to work with R, and am having some difficulty controlling the output of my dotplot. The default order of the function dotchart seems to be the largest value on the bottom and the smallest on the top. I wanted it in the opposite order (which is how my data frame is currently sorted), so I used the following approach, which works orderidx <- order(b2000$RR)
2007 Nov 24
5
Dot plots in R
Dear All, Can R produce dot plots like the one of the following picture: http://en.wikipedia.org/wiki/Image:Dotplot_of_random_values.png ? I have tried dotchart, but no success. Thanks in advance, Paul
2004 Feb 10
2
Dotplot: y-labels from rownames
How can I use row.names() as y-labels in Dotplot? How to set horizontal orientation for y-lables in lattice()? Dotplot(stcod1 ~ Cbind(statgh2,statgh2-1.96*segh2,statgh2+1.96*segh2)[og], subset=statgh2[og]>0.1, data=h2inqerrg02st, xlab="G", ylab=row.names(h2inqerrg02st)[og], main="") I have tried doing it with mtext() as well, but there is not enough space besides
2004 Feb 10
2
confidence-intervals in dotchart
My earlier posting should have said "dotchart", not "barchart". 1)  How does one show confidence-intervals in a "dotchart" and use rownames for labels on the y-axes?  I have looked at "plotCI" in "gregmisc" package . But it does not seem to produce something like a dotchart.  The statistic, error, upper-bound, and lower-bound are in a
2010 Mar 22
2
using reorder in "dotplot"
Hi , Name rate HEALTHALLIANCE HOSPITALS, INC -1.06211747 MOUNT AUBURN HOSPITAL 0.50960291 STURDY MEMORIAL HOSPITAL 2.64233232 LAWRENCE GENERAL HOSPITAL 2.15628558 CAMBRIDGE HEALTH ALLIANCE 1.23623144 I would like use
2008 Sep 25
5
Dot plot - equivalent of MINITAB
hi folks, Bit of a newbie, but I've spent a fair bit of time looking for an answer on this, with no joy. Can anyone help me? Dataset: A single column of values in a csv file (eg. 52, 53, 54, 85, etc) Goal: In Minitab, you have what they call a dot plot. It's a histogram, where a single dot represents a set of identical values (eg. 57, 57, 57 would be one dot). Multiple dots are
2011 Jan 26
2
Varios dotplot en la misma grafica
Buenos dias a todos quisiera meter dos o mas "dotplot" dentro de la misma gráfica. Lo intento con par(mfrow=c(2,2)), pero no me lo permite. Sí puedo hacerlo en cambio con los Boxplot. Es posible hacerlo pero me falta algun detalle, o simplemente no se puede?? Muchas gracias Jose Luis [[alternative HTML version deleted]]
2010 Dec 18
3
dotchart for matrix data
Readers, I am trying to use the function dotchart. The data is: > testdot category values1 values2 values3 values4 1 a 10 27 56 709 2 b 4 46 47 208 3 c 5 17 18 109 4 d 6 50 49 308 The following error occurs > dotchart(testdot,groups=testdot[,2]) Error in dotchart(testdot, labels =
2004 May 28
1
dotchart questions
I am trying to put 3 dotcharts side-by-side with minimal space between each. Each chart is for a different variable, but the vertical axes are the same. I want to have vertical axis labels on the lefthand chart but no vertical axis labels on the other two. Plus, I would like very little space between charts 1 & 2 and between charts 2 & 3. I have one approach but am not too happy with
2003 Sep 29
5
colours in dotchart (PR#4343)
Problem: neither fg or bg nor color work properly in dotchart. version: R-1.7.1 for windows code which shows the errors: x <- matrix(rnorm(16),ncol=2,dimnames=list(paste("a",1:8,sep=""),c("before","afte r"))) dotchart(x,fg="blue",bg="lightgrey") dotchart(x,color=c("red","blue")) Dr Ian J Wilson Lecturer in
2010 Jun 24
1
BBH2 and FrF2 packages
Hi R HELP, I consider the 2^3 factorial experiment described at page 177 of the book Statistics for Experimenters: Design, Innovation, and Discovery by George E. P. Box, J. Stuart Hunter, William G. Hunter (BHH2). This example use the following data in file BHH2-Data/tab0502.dat at ftp://ftp.wiley.com/ in /sci_tech_med/statistics_experimenters/BHH2-Data.zip run T C K y 1 1 -1 -1 -1 60 2
2011 Feb 01
1
dotchart {graphics} 2.11.1 vs. 2.12.1
I have a factor vector of subject races (Asian, Black, Hispanic, White; n=30) that I want to plot with a Cleveland dotplot or dotchart. I tried the following in R2.12.1 : > dotchart(table(school$Race)) Error in plot.xy(xy.coords(x, y), type = type, ...) : invalid plot type Using the same data set in R2.11.1 the operation succeeded (I tried several variations to be sure): >
2010 Jun 14
2
Which is the easiest (most elegant) way to force "aov" to treat numerical variables as categorical ?
Hi R help, Hi R help, Which is the easiest (most elegant) way to force "aov" to treat numerical variables as categorical ? Sincerely, Andrea Bernasconi DG PROBLEM EXAMPLE I consider the latin squares example described at page 157 of the book: Statistics for Experimenters: Design, Innovation, and Discovery by George E. P. Box, J. Stuart Hunter, William G. Hunter. This example use
2009 Dec 04
2
how to seperate a matrix
Hello, I am working on seperate the matrix to two matrices but got trouble on doing it. Please give me some suggestions on doing this. Thanks a looooooooooooot! My original matrix m is as follows for example, [,1] [,2] [,3] [1,] 6 8 1 [2,] 5 9 2 [3,] 20 10 3 [4,] 7 11 4 [5,] 8 12 5 [6,] 25 13 6 [7,] 14 14 7 I want to generate two
2013 Jul 01
1
dotchart.R and left margin
Hello, In trying to minimize the margin on the left hand side when using dotchart I found what may be a typo in the code. In the lines below from dotchart.R, should nmai[4L] be nmai[2L]? if (!(is.null(labels) && is.null(glabels))) { nmai <- par("mai") nmai[2L] <- nmai[4L] + max(linch + goffset, ginch) + 0.1 par(mai = nmai) } Thank you, Stephen Weigand --
2006 Mar 13
2
dotchart: Gap between text and chart
I have some data which I would like to display with dotchart. The labels are very long, so the chart becomes too small. Setting cex=0.7 seems to be a good compromise, but the gap between the text and the chart still is too large. I did not find a "gap" parameter in the description of dotchart... Thanks for any help. D. Trenkler "a" <- structure(c(103.35, 36.73, 55.09,