similar to: dotchart vs. dotplot ... groups

Displaying 20 results from an estimated 2000 matches similar to: "dotchart vs. dotplot ... groups"

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
2013 Apr 11
1
Dotchart per groups
Hi all, I would like to ask you for help. I did a dotplot - using dotchart function. There are two localites (loc) with values 75 or 56 in my data ZZ. The f column has 4 levels: P1, S1, S8, R6. The dataframe is ordered by N value, pchloc value is assign to use "pch" in plot. > head(ZZ) loc f N color ordered pchloc 98 75 S1 6.39 green 1 16 99 75 S8 6.44 blue
2011 Aug 04
1
labelling a stacked barchart (lattice)
All: Below is my code for creating a basic horizontal, stacked barchart. I'd like to label the plot in two ways: 1) place the x values in each piece and 2) place the y values above each piece (angled). I'm currently using lattice, but I'm open to suggestions using ggplot2. Questions: 1. Can this be done?...I assume yes. So, what are the best options/functions for doing this. 2.
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
2011 Feb 11
1
Extract a slot value from a 'SpatialPolygons' class object
Dear R-users, I’m currently trying to extract the value of a slot (area) but can’t find out how to do that. >str(overlperc) List of 1 $ :Formal class 'SpatialPolygons' [package "sp"] with 4 slots .. ..@ polygons :List of 1 .. .. ..$ :Formal class 'Polygons' [package "sp"] with 5 slots .. .. .. .. ..@ Polygons :List of 1 .. .. .. .. .. ..$
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 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 =
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,
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
2012 May 09
5
Dotchart showing mean and median by group
Given this example mean.values<-colMeans(VADeaths) mean.values<-apply(VADeaths, 2, mean) median.values<-apply(VADeaths, 2, median) dotchart(VADeaths, gdata=mean.values) dotchart(VADeaths, gdata=median.values) is it possible to ?combine? a single dotchart showing both the mean and the median for each single group (with different plotting symbols)? ?is it that possible with the use of
2001 Jan 18
2
dotplot: character size of labels
Dear R users, using dotplot (R1.2.0, WinNT4.0), I am trying to change the character size of the labels of the points: > # example > data(VADeaths) > dotplot(VADeaths, main = "Death Rates in Virginia - 1940") > # I'd like to have smaller character size of the labels (for age and population groups) > ?dotplot > # for argument "cex", this says:
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 --
2010 Feb 18
3
Can R make an usual dotplot
Dear R experts, Can R make an usual dotplot just like Minitab and other softwares? I have the following data, and can use dotchart to graph a dotplot: y=c(2.873438152e-01, -8.732895642e-01, 4.579001889e-01, 1.047395204e+00, 8.491182299e-02 , -1.938007105e+00, -1.273708343e+00, 9.848010588e-05, 7.238490734e-01, -1.490552717e+00) dotchart(y, xlab="10 observations from
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)
2012 Oct 12
4
dotchart ordering problem
I'm having an sorting problem in dotchart. I want to change the order of the BA in groups to AB, but I haven't found any solution yet. What should I do? And what if I want to change the groups order as well? At the bottom from Conrol up to 10 mg/L on the top. Thank you! x = c(39, 23, 23, 35, 30, 26, 30, 30, 29, 29, 26, 29, 34, 33) y = c("Control", "DMSO", "0,1
2013 Mar 28
3
problem with plots with short example.
i am having problem running my own data. yesterday it was working just fine. today it is not. this is the code i was using as an example to follow. this code ALSO worked just fine yesterday, and is no longer working at all. i suspect it is a problem with either my computer or the software, at this point. if THIS won't even run.... something is wrong. i can assure you this isn't
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
2003 Sep 05
3
Dotchart question
Sorry to keep asking elementary questions......I appreciate the help. I am trying to create a dotchart with the rows sorted according to the values, rather than the labels. When I try prof <- c('Accountant', 'Administrative assistant', 'Garment worker', 'Cook', 'Dentist', 'General practictioner', 'Graduate student', 'High level
2009 Oct 15
2
How to right-align labels in dotchart
I have only just discovered the joys of the dotchart (since I am reading William Cleveland's -- Sean Carmody The Stubborn Mule http://www.stubbornmule.net http://twitter.com/seancarmody [[alternative HTML version deleted]]
2011 Feb 01
1
dotchart {graphics} 2.11.1 vs. 2.12.1 [followed up from Rhelp]
Dear List, With the R 2.12.0 addition of table methods for points(), dotchart() struggles with tables. I found several possible solutions, but it is beyond my skill to decide what is "best". Here is a small example: ############################################# x <- table(infert$education) y <- 1:3L dotchart(x) # error about incorrect plot type ## moving closer to the cause,