Displaying 20 results from an estimated 2000 matches similar to: "pie charts?"
2003 Jan 02
3
random number generation
Can a single random number be generated in R? I have an exercise that wants
to simulate coin tosses, and I cannot seem to find a good example of the use
of random number generation in R. Any help?
Joshua Gramlich
Chicago, IL
2003 Feb 14
2
function editing?
Is there a way to edit user defined functions once they've been
created? For instance, I've a simple function that plots a table, but
I'd like to go back and add more parameters to the barplot call. Is
there a way to change this function without completely starting from
scratch? Other than storing the code in a file and re-running it?
Joshua Gramlich
Piocon Technologies
Chicago,
2003 Feb 17
1
R environment advice?
Hello,
My questions are meant to be not necessarily specific...I am looking for
advice and best practices for setting up an R environment. Here's my
situation:
I am one of perhaps three or four individuals who will be analyzing the
same data through the use of R. I would like to set up a "base"
environment for our project, basically some scripts that connect to a
database, load
2003 Feb 17
2
Graphing
I think this may be a histogram, but I'm not sure. Can anyone tell me
how to replicate this graph in R?
http://www.ginworks.com/images/multitot.gif
Thanks,
Joshua Gramlich
2006 Sep 19
1
Adding percentage to Pie Charts (was (no subject))
Have you read the books by Cleveland?
His experiments show that most people do better estimating things and
comparing things on a linear scale rather than looking at angles and
areas (also see
http://biostat.mc.vanderbilt.edu/twiki/pub/Main/StatGraphCourse/graphsco
urse.pdf)
With a dot chart you can set the axis to go from 0 to the total of all
groups (see the example I sent before, it could
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]]
2003 Feb 11
4
postgres
Is anyone using R with postgres? I'd like to do so, but cannot seem to
find any reasonable explanation of how to do so.
Joshua Gramlich
Chicago, IL
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
2006 Apr 18
5
3D pie
Hi all,
Is there a way to draw 3D pie with R (like excel does)?
I know how to do it in 2D, just by using pie(something)...
I know it isn't the best way to represent data, but people are sometimes
more interested by the look and feel than by the accuracy of the
results...
If there is no way, have you another suggestion ? (i already use
dotchart instead of pie)
Thks to all of
2008 Apr 07
2
pie graphic
Hi,
My problem is:
I have many data to plot as pie-chart, so the labels are not readable!
Is there a way to solve my problem? For example is it possible move the
labels more far to the graphic?
Thanks in advance
Marco
2006 Oct 21
1
pie
Hi,
I would like to draw a pie chart. I've already tried out the standard
pie-function in the GRAPH-package. My question: is there any 'better'
function or package to draw a pie chart. For example I would like to
draw a 3D pie chart.
Dietrich Tissen
2007 Jul 25
3
Constructing bar charts with standard error bars
I am new to R.
I want to graph group data using a "Traditional Bar Chart with Standard
Error Bar", like the kind shown here:
http://samiam.colorado.edu/~mcclella/ftep/twoGroups/twoGroupGraphs.html
Is there a simple way to do this?
So far, I have only figured out how to plot the bars using barplot.
testdata <- scan(, list(group=0,xbar=0,se=0))
400 0.36038 0.02154
200 0.35927
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 Jun 09
3
Dot chart question
Running R 1.8.1 on a Windows machine
In dotchart, I would like to shrink the labels on the tick marks (that
is, the numbers) without shrinking anything else. I could not find this
in either the Rhelp archives or in ?dotchart, which recmmends cex to
avoid 'label overlap', but cex shrinks all the characters in the plot.
Is there a way to do this?
Thanks
Peter
Peter L. Flom, PhD
2006 Mar 13
1
[R] dotchart: Gap between text and chart (PR#8681)
(Moved from r-help)
On 3/13/2006 9:33 AM, Dietrich Trenkler wrote:
> 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...
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
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):
>
2007 Jun 29
1
shading bar charts
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi alls,
i have to code a family of bar charts. After reading the doc, i cannot
understand if it is possible to shade the bar colors and how.
With shading i don't mean `density`. I mean something like that:
http://www.advsofteng.com/images/colorcylinder_g.png
Thanks and br
- --
Federico
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6
2006 Mar 18
0
No subject
One quirk to be watched is the use of connections to the DBMS via the
Unix sockets vs ports. The PostgreSQL driver bundled with unixODBC
will use Unix sockets to `localhost', but this driver seems unreliable
(see the ChangeLog). The current driver will only use a TCP/IP port,
and to use that needs postmaster started with the -i flag (which is
not the default) and with tcp/ip
2011 May 31
2
OT: Pie charts
We regularly get questions about making pie charts, and frequently
veer off into the philosophical and practical issues surrounding that
form of data graphic: human perception of angles and so on.
So while this isn't an R issue, I thought some of you might appreciate
this brief discussion of the efficacy of pie charts:
http://fakescience.tumblr.com/post/6042293374/understanding-pie-charts