Hello everyone...
I would like to create a chart (see below), how can I do it with R?
Any help, suggestion, samples... will be greatly appreciated.
Thanks... Avi
http://r.789695.n4.nabble.com/file/n2545921/DotChart.jpg
--
View this message in context:
Hi,
Here are three examples for something along those lines. The first
uses the package lattice, 2 and 3 use ggplot2. There are lots of
options, and you can tweak and customize these to your hearts content.
dat - data.frame(group = factor(rep(0:1, each = 40), labels =
c(Control, Treatment)),
?dotchart perhaps.
--- On Sun, 9/19/10, avsha38 avsha...@post.tau.ac.il wrote:
From: avsha38 avsha...@post.tau.ac.il
Subject: [R] Create Dot Chart
To: r-help@r-project.org
Received: Sunday, September 19, 2010, 10:46 AM
Hello everyone...
I would like to create a chart (see below), how
Hi Josh,
Great samples! Thanks a lot!
I ran your code and saw the Dot Chart, looks like what I need.
I would like to ask for your help with applying it to my file,
coming from the Theoretical world making it tough for me to apply in the
Code..
attached below is part of my dataset
num1 is ID
On Sep 19, 2010, at 12:58 PM, avsha38 wrote:
Hi Josh,
Great samples! Thanks a lot!
I ran your code and saw the Dot Chart, looks like what I need.
I would like to ask for your help with applying it to my file,
coming from the Theoretical world making it tough for me to apply in
the
Code..
Hi Josh,
Great samples! Thanks a lot!
I ran your code and saw the Dot Chart, looks like what I need.
I would like to ask for your help with applying it to my file,
coming from the Theoretical world making it tough for me to apply in the
Code..
attached below is part of my dataset
num1 is
On Sep 19, 2010, at 1:49 PM, avsha38 wrote:
Hi Josh,
Great samples! Thanks a lot!
I ran your code and saw the Dot Chart, looks like what I need.
I would like to ask for your help with applying it to my file,
coming from the Theoretical world making it tough for me to apply in
the
Code..
Ahoy Avi,
Sounds like you be wantin' a gander more explanation than 'til you get
your Arrr legs.
# Read in data
# I chose to specify explicit classes because the ids and ESHKOL_tert
# are really categorical data, so I made them factors
# also your data was tab delimited, which I specified using
Hi Josh
Wow, I greatly appreciate you taking the time to help out. It works
excellent!!!
I am just a beginner with R; thanks a lot for your books recommendation, I
will be using them.
If I may ask you, I have about 300 records in the full file and once I ran
the code with the full file,
The
Hi:
It seems to me that num1 is a nested factor within ESHKOL_tert. With that in
mind, I redefined the two terms to be factors and redid Josh's plot as
follows:
dat3 - dat2
dat3 - transform(dat3, num1 = factor(num1), ESHKOL_tert =
factor(ESHKOL_tert))
ggplot(data = dat3, aes(x = value, y =
10 matches
Mail list logo