Displaying 20 results from an estimated 10000 matches similar to: "Number lines"
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
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)
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):
>
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
2009 Jul 14
5
plotting confidence intervals
Hi R People:
If I have a fitted values from a model, how do I plot the
(1-alpha)100% confidence intervals along with the fitted values,
please?
Also, if the intervals are "shaded" gray, that would be nice too, please?
I check confint, but that doesn't seem to do what I want.
Thanks in advance,
Sincerely,
Erin
-- 
Erin Hodgess
Associate Professor
Department of Computer and
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
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 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 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
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
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
2003 Jun 12
3
breaks
Dear R People:
I have a question about a "sorting" problem, please.
I have a vector xx:
> xx
 [1] -2.0  1.4 -1.2 -2.2  0.4  1.5 -2.2  0.2 -0.4 -0.9
and a vector of breaks:
> xx.y
[1] -2.2000000 -0.9666667  0.2666667  1.5000000
I want to produce another vector z which contains the number of the class
that each data point is in.
for instance, xx[1] is between xx.y[1] and
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,
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
2003 Apr 02
4
Multivariate Time series
Dear R People:
Is there a library for Multivariate time series, please?
For some reason, I'm thinking that Dr. Paul Gilbert may have one?
R Version 1.6.2 (i've updated!) for Windows
Thanks so much!
Sincerely,
Erin Hodgess
University of Houston - Downtown
mailto: hodgess at uhddx01.dt.uh.edu
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
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   
2000 Jul 12
1
buglet in fix() [was "function via source or fix"] (PR#602)
>>>>> "Erin" == Erin Hodgess <hodgess@uhddx01.dt.uh.edu> writes:
    Erin> Suppose I create a function, x.e, via the fix command:
(ESS users ESS don't ever do this, but still ...)
    >> x.e <- fix(x.e)
    Erin> When I type in x.e, the function code appears, along
    Erin> with the name/number of the environment.
Ok, in the above it was
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
--