install.packages("RColorBrewer") seems to work for me.
John Kane
Kingston ON Canada
> -Original Message-
> From: hannah@gmail.com
> Sent: Tue, 7 Aug 2012 13:08:11 -0400
> To: r-help@r-project.org
> Subject: [R] Rcolorbrewer Package
>
> Hi all,
&
Olympics--they are all off partying?
John Kane
Kingston ON Canada
> -Original Message-
> From: michael.weyla...@gmail.com
> Sent: Tue, 7 Aug 2012 11:03:19 -0500
> To: jdnew...@dcn.davis.ca.us
> Subject: Re: [R] Unable to download R package
>
> I can access the Mac
What are you actually plotting?
John Kane
Kingston ON Canada
> -Original Message-
> From: bioinfo.himan...@gmail.com
> Sent: Tue, 7 Aug 2012 05:57:06 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] Overlapping a Plot with Dataframe
>
> Hello Everyone
No idea. What are you doing? What packages are you using?
What function is (presumably) giving you these results?
John Kane
Kingston ON Canada
> -Original Message-
> From: mohammadianalimohammad...@gmail.com
> Sent: Tue, 7 Aug 2012 01:12:08 -0700 (PDT)
> To: r-help@r
What graph?
Please read the posting guidelines and provide some example data and some code
showing what you are doing.
John Kane
Kingston ON Canada
> -Original Message-
> From: anand.kara...@gmail.com
> Sent: Tue, 7 Aug 2012 12:24:50 +0530
> To: r-help@r-project.org
&
rest of the plots.
vplayout <- function(x, y) viewport(layout.pos.row = x, layout.pos.col = y)
grid.newpage()
pushViewport(viewport(layout = grid.layout(2, 1)))
print(p1, vp = vplayout(1, 1))
print(p2, vp = vplayout(2, 1))
John Kane
Kingston ON Canada
> -Original Message-
>
Would just saving the results onto an object saving it work?
>From the help page example
summary(fm1 <- aov(breaks ~ wool + tension, data = warpbreaks))
myresults<- TukeyHSD(fm1, "tension", ordered = TRUE)
write.table (myresults, file = ksksk)
John Kane
Duh, I'm more dyslexic than usual obviously.
John Kane
Kingston ON Canada
> -Original Message-
> From: ruipbarra...@sapo.pt
> Sent: Sun, 05 Aug 2012 17:07:38 +0100
> To: jrkrid...@inbox.com
> Subject: Re: [R] ggplot2 boxplot help
>
> Hello,
>
> Wa
+
scale_x_discrete(breaks=c("value_1", "value_2"),
labels=c("Sample 1", "Sample 2"))
p
####
John Kane
Kingston ON Canada
> -Original Message-
> From: alexp
As far as I understand ggplot2, you cannot do it. ggplot2 is pretty much
designed to NOT allow two different sets of data with different y axes in the
same plot.
Doing this is generally considered very bad practice. I'd suggest looking into
perhaps using a 2X1 or X2 grid and plotting the tw
Depends on your OS probably.
I would just add a Faroese keyboard to my Ubuntu setup and switch between my
normal keyboard and Faoese as required.
John Kane
Kingston ON Canada
> -Original Message-
> From: klausflemlo...@mail.tele.dk
> Sent: Fri, 3 Aug 2012 10:08:48 -0700 (PDT
Hi Nerea,
For some reason your post is badl garbled and close to imposible to read.
Perhaps you need to check your text encoding?
Also to send sample data it is better to use the dput() command.
Do dput(myfile) and then paste the results into your email
Sorry not to be of more help.
John
Just move the legend. Change topright to x = ? y = ? whatever to find an empty
place on the plot.
John Kane
Kingston ON Canada
> -Original Message-
> From: mandecent.gu...@gmail.com
> Sent: Fri, 3 Aug 2012 00:17:38 -0700 (PDT)
> To: r-help@r-project.org
> Subject: Re: [R
Data came through fine.
I can never plot a polygon without help but I think you have a data
problem.
Try this:
efinal == efinal2
John Kane
Kingston ON Canada
-Original Message-
From: narillosdesan...@gmail.com
Sent: Thu, 2 Aug 2012 16:55:23 +0200
To
our
email. Readers can directly paste the file into their R console and see
exactly what your data is.
John Kane
Kingston ON Canada
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and
family!
Visit h
if(cond) expr
if(cond) cons.expr else alt.expr
Also see ?ifelse
John Kane
Kingston ON Canada
> -Original Message-
> From: bunnylove...@optonline.net
> Sent: Mon, 30 Jul 2012 05:55:34 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] If/then statement, if in a l
If I understand the question correctly the answer is probably not to type
anything at the R command line. A good editor or interface is a better approach
http://en.wikipedia.org/wiki/R_%28programming_language%29#Interfaces
John Kane
Kingston ON Canada
> -Original Message-
>
Can you give us an example of what you mean by the functions listed below.
Otherwise something like this seems to work
xx <- 1 :4
x1 <- as.character(xx)
mat <- matrix(1:12, nrow=3)
John Kane
Kingston ON Canada
> -Original Message-
> From: ala...@yahoo.com
> Sent
You cannot have two sets of column names in a data.frame
You can do this
rbind(X, Y)
Summary G Y R
1 Acc 12 12 13
2 Bcc 11 14 15
3 Ccc 13 15 16
4 Acc 10 11 12
5 Bcc 13 12 11
6 Ccc 11 16 20
John Kane
Kingston ON Canada
> -Original Message-
>
you have already developed in trying to do this.
John Kane
Kingston ON Canada
> -Original Message-
> From: italianoperstrani...@hotmail.it
> Sent: Sat, 28 Jul 2012 13:56:18 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] Coloring Counties in a State Map
>
> I
Yes just a bit picky. While it would not have caught this problem a good
editor with highlighting (Tinn-R in Windows, gedit or geany? in Linux can
really help.
Try googling for a discusson of editors for R. There was one a few month ago I
think
John Kane
Kingston ON Canada
> -Origi
h assumptions are false. People are particular well
>> trained to skip over boilerplate text at the bottom of emails.
>
> One day the list owner will subtly change the boilerplate text at the
> bottom of R-help emails and nobody will notice.
>
Not 1 necessarily so. I glance at it oc
I think you have a type: Try "\t"
John Kane
Kingston ON Canada
> -Original Message-
> From: watson...@hotmail.com
> Sent: Fri, 27 Jul 2012 09:30:34 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] Separating Columns in Excel Export from R
>
> Hell
I'd vote for that!
It would probably bug the blazes out of experienced users but the time savings
in getting a newbie to actually supply enough information so that someone can,
at least, try to answer the question would be well worth it.
John Kane
Kingston ON Canada
> -Original
> -Original Message-
> From: j...@bitwrit.com.au
> Sent: Fri, 27 Jul 2012 19:21:36 +1000
> To: dcarl...@tamu.edu
> Subject: Re: [R] On Reproducible Code
>
> On 07/26/2012 01:50 AM, David L Carlson wrote:
>> We often refer requesters to the Posting Guide and chide them for not
>> reading
ge the status quo.
It becomes fairly obvious after the first few imbroglios.
On the other hand as they now teach passive sentence structure is harder to
understand that postive, so perhaps:
Objects x,yz in package A mask objects x,y z in package B?
John Kane
Kingston ON Canada
> -
.1,2.2,5))
myplot<-ggplot(dat1, aes(spd, r, colour = spd)) +
geom_errorbar(aes(ymin=3, ymax=5), width=.1) +
geom_point() + coord_flip()
John Kane
Kingston ON Canada
> -Original Message-
> From: adamjgabb...@gmail.com
> Sent: Thu, 26 Jul 2012 09:03:44 -0400
> To: r-help@r-project.
Something as simple as dat1[2,2] <- "3%" where your data is in a data.frame
called dat will change 3 to 3% it but it changes everything in that column to
character if it was numeric.
str(dat1)
John Kane
Kingston ON Canada
> -Original Message-
> From: sailes
ot;City3")
hds <- c("Postal.Code", "Superb")
mat <- matrix( c(postal, superb), nrow=3)
colnames(mat) <- hds
rownames(mat) <- cities
mat
dat1 <- data.frame(cities, postal, superb)
names(dat1) <- c("city", "postal.code", sup
I think it has been moved to the scales package but I've never used it so I
don't know the syntax.
John Kane
Kingston ON Canada
> -Original Message-
> From: fjpcaball...@gmail.com
> Sent: Thu, 26 Jul 2012 07:41:58 -0400
> To: r-help@r-project.org
> Subje
Score"), class = "data.frame", row.names =
c(NA,
-16L))
# R basic
aggregate(Score ~ Name, mean, data = mydata)
library(reshape2)
dcast(mydata, Name ~ . , mean)
library(plyr)
ddply(mydata, .(Name), summarize, Mean = mean(Score))
library(data.table)
DT <- data.table(myd
#x27;s not just me reading the code.
If you run:
md1 <- melt(mydata, id = "Time_zero",
variable.name="xvars",
value.name="aminos")
ddply(md1, .(xvars, aminos), summarise, sum = sum(Time_zero)/time0total)
I think it will show what i
# note file name is xx.
library(reshape2)
dcast(xx, name ~ color, value.var = "values")
John Kane
Kingston ON Canada
> -Original Message-
> From: saileshchowd...@gmail.com
> Sent: Tue, 24 Jul 2012 21:41:19 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [
PLEASE do read the posting guide.
You really need to supply some sample data and the code you are using. We can
make guesses about what you are doing but it is much easier to actually look at
the data and code.
Please use dput() ( see ?dput) to supply some sample data.
John Kane
Kingston ON
Looks like it. thanks
Now all I have to do is figgure out how to get rid of all the missing combos.
Oh well another dat
thanks
John Kane
Kingston ON Canada
> -Original Message-
> From: smartpink...@yahoo.com
> Sent: Tue, 24 Jul 2012 10:45:18 -0700 (PDT)
> To: jrkrid.
3616366, 0.951669704638363,
0.89764100023006, 0.0850868034048879, 0.0172721963650521,
0.951669704638363, 0.0483302953616366, 0.963243491956749,
0.0367565080432513, 0.89764100023006, 0.0540287044083034,
0.0483302953616366, 0.982727803634948, 0.0172721963650521
)), .Names = c("gro
time0total = sum(myfile[,2])
mydata <- myfile[, 2:10]
md1 <- melt(mydata, id = "Time_zero")
ddply(md1, .(variable, value), summarise, sum = sum(Time_zero)/time0total)
John Kane
Kingston ON Canada
-Original Message-
From: z...@cornell.edu
Sent:
rt it to R.
John Kane
Kingston ON Canada
> -Original Message-
> From: surg...@mac.com
> Sent: Mon, 23 Jul 2012 11:50:48 -0700 (PDT)
> To: r-help@r-project.org
> Subject: Re: [R] Hire person to convert R code to SAS
>
> interesting idea, the problem is that I have a
Can we have a Window subset of fortunes?
John Kane
Kingston ON Canada
> -Original Message-
> From: kirkrflem...@hotmail.com
> Sent: Mon, 23 Jul 2012 14:06:48 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] R doesn't recognize R_HOME value
> I do
.
Something like dput(head(mydata)) should be fine. Just copy and paste the
output into your email.
Welcome to R. I think you will like it.
John Kane
Kingston ON Canada
> -Original Message-
> From: z...@cornell.edu
> Sent: Mon, 23 Jul 2012 18:01:11 -0400
> To: r-help@r
(0,68.5))
dd <- melt(x, id= c("id", "Event1", "Event2"),
value.name="year.quarter" )
dd1 <- subset(dd, dd[, 5] != 0 )
dd1 <- dd1[ , c(1,2,3,5)]
John Kane
Kingston ON Canada
> -Original Message-
> From: r...@jp.pair.co
Check and see if you have reshape loaded as well. I had a somewhat similar
problem (R2.13 ?) and realised that reshape was masking reshape2
John Kane
Kingston ON Canada
> -Original Message-
> From: dwarnol...@suddenlink.net
> Sent: Sat, 21 Jul 2012 16:06:11 -0700 (PDT)
>
eplace = TRUE)
}
mymat
John Kane
Kingston ON Canada
> -Original Message-
> From: baile...@ohsu.edu
> Sent: Thu, 19 Jul 2012 14:17:43 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] Creating Multiple Repeating samples and Cross Correlating
> them.
>
> I
z, na.rm = TRUE),
mean = mean(z, na.rm = TRUE), count = length(z)))
John Kane
Kingston ON Canada
> -Original Message-
> From: viora...@gmail.com
> Sent: Fri, 20 Jul 2012 03:30:16 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] Crosstab with Average and C
I think we need some raw data. Have a look at ?dput for a way to supply it.
It might help if you supplied some sample code of what you have tried.
"I want a line plot" is not particularly helpful.
John Kane
Kingston ON Canada
> -Original Message-
> From: anamika...@
t;, header = TRUE)
in Windows.
Note that you can do either Linux style / or use Windows \ but if so you must
escape them so the path would be "C:\\mydata\\ages.csv".
Hope this helps.
John Kane
Kingston ON Canada
> -Original Message-
> From: dwarnol...@suddenlink.ne
gt; Subject: Re: [R-sig-Debian] Attempting to update from R 2.14 to 2.15 on
> Ubuntu
>
>
>
> On 06/12/2012 02:42 PM, John Kane wrote:
>> R-SIG-Debian
>>
>> I am very new to Linux so I probably am doing something stupid but I
>> cannot seem to update to
Code?
Sample data?
John Kane
Kingston ON Canada
> -Original Message-
> From: rshep...@appl-ecosys.com
> Sent: Wed, 18 Jul 2012 14:30:24 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] cenbox(): Changing Default x-axis Group Labels
>
>I've looked a
Oh, I clearly misunderstood what you were doing there. I don't know anything
about Manhattan plots but a quick google for "manhattan plot r package" turns
up a number of items so the type of plot you want may already exist.
Sorry to not be of more help.
John Kane
Kin
.
John Kane
Kingston ON Canada
> -Original Message-
> From: yolande@gmail.com
> Sent: Tue, 17 Jul 2012 10:48:28 -0400
> To: r-help@r-project.org
> Subject: [R] NA instead of time stamp
>
> I was wondering why I get instead of the timestamp in the
> following.
Yolande,
Attached files are usually deleted from the r-help list and I see no sign of
your file.
You can use the function dput() to output the your file in a format that you
can paste into your email and which other readers can paste into R and use.
See ?dput for more information.
John Kane
My quick read of the HVLOOLUP text suggests that an exact match is what is done
in Excel or other spreadsheets. But then, I've never used it.
I get the impression is often used for things like price lookups.
John Kane
Kingston ON Canada
> -Original Message-
>
1:10, targ <- c(11:20)))
xx <- 4
hvlook <- mda[2 , match(1, df1[, xx]) ]
hvlook
John Kane
Kingston ON Canada
> -Original Message-
> From: santosh.srini...@gmail.com
> Sent: Sun, 15 Jul 2012 04:56:30 -0700 (PDT)
> To: r-help-arch...@googlegroups.com
> Sub
No idea of how to do what you want but your data set is not working.
I think that you want
x= c(1:24)
day= rep(1:30, each=10)
time= sample(x, 300, replace= T)
light= rep(c(20,10,6,0,0,0,0,0,8,20), 30)
d=data.frame(day,time,light)
n= length(day)
John Kane
Kingston ON Canada
> -Origi
This seems more or less correct to me.
1> sum(df$a==1)
[1] 1
1> sum(df$a==2)
[1] 1
1> sum(df$aaa==2)
[1] 0
There is no df$aaa so the length is 0 which is what I think you are asking.
What am I missing?
John Kane
Kingston ON Canada
> -Original Message-
>
try something like
abline(h=1.9)
John Kane
Kingston ON Canada
> -Original Message-
> From: dwarnol...@suddenlink.net
> Sent: Fri, 13 Jul 2012 09:54:35 -0700 (PDT)
> To: r-help@r-project.org
> Subject: Re: [R] Side by side strip charts
>
> OK, got this far:
&
?subset
John Kane
Kingston ON Canada
> -Original Message-
> From: jubil...@live.com.sg
> Sent: Wed, 11 Jul 2012 20:53:51 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] plot only a same variable timing graph
>
> hi all.
> for example :
>
> Table 1 v
I really am not sure of the question but perhaps ?order for a start?
John Kane
Kingston ON Canada
> -Original Message-
> From: jubil...@live.com.sg
> Sent: Thu, 12 Jul 2012 01:15:26 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] plot graph by first letter
>
&g
I think that you have the statements out of order and I know that you are
lacking the last ) to match the replicate(
Try this"
replicate(100, {
x=rep(1:10,10)
y=rnorm(100,x,5)
plot(y~x)
abline(lm(y~x))
})
John Kane
Kingston ON Canada
> -Original Message-
> From:
?par and have a look at lwd
John Kane
Kingston ON Canada
> -Original Message-
> From: jenkere...@gmail.com
> Sent: Mon, 9 Jul 2012 10:11:32 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] how to make plot lines thicker
>
> I am trying to make the lines thic
Right, I see it now. Thanks.
Who knows in another 100 years I may understand regex.
John Kane
Kingston ON Canada
> -Original Message-
> From: smartpink...@yahoo.com
> Sent: Sat, 7 Jul 2012 16:19:54 -0700 (PDT)
> To: jrkrid...@inbox.com
> Subject: Re: [R] Splitting a c
ooohhh!
John Kane
Kingston ON Canada
> -Original Message-
> From: ted.hard...@wlandres.net
> Sent: Sun, 08 Jul 2012 21:07:09 +0100 (BST)
> To: r-help@r-project.org
> Subject: Re: [R] a fortune?
>
> Should this not be attributed to DescaRtes?
>
> Ted.
&
Works perfectly. Thank you very much indeed.
John Kane
Kingston ON Canada
> -Original Message-
> From: dwinsem...@comcast.net
> Sent: Sat, 7 Jul 2012 21:45:58 -0400
> To: jrkrid...@inbox.com
> Subject: Re: [R] Splitting a character vector.
>
>
> On Jul 7, 201
I think I'm geting it a bit. Anyway time to shut down and have a beer. Life
will be much nice tomorrow or Monday when I get back to cleaning up the data
from that spreadsheet.
Many thanks and have a good weekend.
John Kane
Kingston ON Canada
> -Original Message-
> From
Ah, I think Mark may have it. See my earlier post. Why the space?
John Kane
Kingston ON Canada
> -Original Message-
> From: ruipbarra...@sapo.pt
> Sent: Sat, 07 Jul 2012 23:12:46 +0100
> To: marklee...@gmail.com
> Subject: Re: [R] Splitting a character vector.
>
>
How totaly obvious once you tell me! I would have spend days trying to figure
it out.
I think I have a total mental block on regex and their derivatives.
Thanks very much.
John Kane
Kingston ON Canada
> -Original Message-
> From: ruipbarra...@sapo.pt
> Sent: Sat, 07 Jul 2
Thanks Jeff.
I actually had that figured out after a good hour of pounding my head against
the wall but I still could not seem to get the syntax correct. I think I
misunderstand strpsplt() just enough to keep making dumb mistakes.
John Kane
Kingston ON Canada
> -Original Mess
No sorry Rui,
In the expression result <- strsplit(sub(close.par, "", dd1), open.par)
there is close.par, ''", open.par
I probably am just blind but I don't understand what it is doing.
John Kane
Kingston ON Canada
> -Original Message-
> Fro
Thanks Rui
It works perfectly so far on the test and real data.
The annoying thing is that I had tried , or thought I'd tried the open.par
format and keep getting an error.
It looks like I had failed to add the '''', in the term. What is it doing?
Joh
ding the function or don't know how to escape a "(" properly in
an effort to at least get "XXY" "(mat harry)"
Any pointers would be appreciated
Thanks
John Kane
Kingston ON Canada
FREE 3D MARIN
Your code works okay in a plan R terminal. It may be an Rstudio problem or
perhaps you already have a graphics device open and are trying to draw into it?
John Kane
Kingston ON Canada
> -Original Message-
> From: khar...@lbl.gov
> Sent: Fri, 6 Jul 2012 10:39:41 -0700
>
Probabaly not since you do not tell us what the problem is.
Please read the posting notes at the bottom of this email
John Kane
Kingston ON Canada
> -Original Message-
> From: khatriumes...@gmail.com
> Sent: Fri, 6 Jul 2012 21:13:32 +0530
> To: r-help@r-project.org
&
Have a look at the xtables package. I have not used it in some time but I
think it may do what you want. A google search "R statistics xtables" should
bring up some useful information on this.
John Kane
Kingston ON Canada
> -Original Message-
> From: sggk...@gmail.co
like.
I'm sorry I cannot be of more immediate help.
John Kane
Kingston ON Canada
-Original Message-
From: denissearchun...@yahoo.com.mx
Sent: Fri, 6 Jul 2012 06:01:42 -0700 (PDT)
To: jrkrid...@inbox.com
Subject: Re: [R] how to do a graph with tree different c
It would be very helpful to have some sample data to play with. str() shows
the structure of the data set but it is not the data.
Something like dput(head(100)) would probably be enough.
John Kane
Kingston ON Canada
> -Original Message-
> From: rshep...@appl-ecosys.com
>
I don't believe that R-help permits pdf files. A useful workaround is to post
it to a file hosting site like MediaFire and post the link here.
John Kane
Kingston ON Canada
> -Original Message-
> From: jimmycl...@gmail.com
> Sent: Wed, 4 Jul 2012 22:56:02 -0400
Please read the posting guidelines. So far we have no idea of what you are
doing or how you are doing it.
John Kane
Kingston ON Canada
> -Original Message-
> From: anilgv...@gmail.com
> Sent: Thu, 5 Jul 2012 15:11:20 +0530
> To: r-help@r-project.org
> Subject: [R] how
I played around with this for a while with no success at all. I'd suggest
posting the question on the ggplot2 newsgroup in Google Groups
John Kane
Kingston ON Canada
> -Original Message-
> From: thorn.tha...@rdls.nestle.com
> Sent: Tue, 3 Jul 2012 18:50:52 +0200
One basic and very good one is
Cleveland, W. S. (1985). The Elements of Graphing Data. Wadsworth, Inc.
John Kane
Kingston ON Canada
> -Original Message-
> From: comtech@gmail.com
> Sent: Tue, 3 Jul 2012 18:12:00 -0500
> To: r-h...@stat.math.ethz.ch
> Subject: [
John Kane
Kingston ON Canada
> Who are the authors of the R package poLCA.
>From the R CRAN site
Author: Drew Linzer, Jeffrey Lewis.
Maintainer: Drew Linzer
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins,
Anything here that might help
http://learnr.wordpress.com/2010/01/26/ggplot2-quick-heatmap-plotting/
John Kane
Kingston ON Canada
> -Original Message-
> From: joeclar...@hotmail.com
> Sent: Mon, 2 Jul 2012 13:21:25 -0700
> To: mueller.eisb...@googlemail.com, r-help@r
Any sample data for us to work with? See ?dput for a good method of supplying
sample data.
John Kane
Kingston ON Canada
> -Original Message-
> From: denissearchun...@yahoo.com.mx
> Sent: Mon, 2 Jul 2012 14:04:53 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] ho
( z))) + geom_point()
John Kane
Kingston ON Canada
> -Original Message-
> From: kbw1...@yahoo.com
> Sent: Mon, 2 Jul 2012 13:31:36 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] Code scatter plot data from matrix with 3rd column
>
> Hello
>
> I am lo
Glad it works. So far we seem to have at least three ways to do it. R is
amazing!
John Kane
Kingston ON Canada
> -Original Message-
> From: antony.akk...@ge.com
> Sent: Mon, 2 Jul 2012 06:04:03 -0700 (PDT)
> To: r-help@r-project.org
> Subject: Re: [R] Decrete value ch
stant' whisker for that boxplot. So I
looks to me as if in my version of the plot it is what you want.
Any change that I can email directly to you and get an attactment through?
John Kane
Kingston ON Canada
> -Original Message-
> From: thorn.tha...@rdls.nestle.com
> Sent: Mo
have no idea how the x axis points on the boxplot are determined. It may be
relatively clear in the code but I don't really have the knowledge to ferret it
out.
Sorry that I cannot be of more help.
John Kane
Kingston ON Canada
> -Original Message-
> From: thorn.tha...
Thanks Petr,
I suppose this means I have to reread that set of changes again. I think I
noticed it and promptly forgot it.
John Kane
Kingston ON Canada
> -Original Message-
> From: petr.pi...@precheza.cz
> Sent: Mon, 2 Jul 2012 10:41:20 +0200
> To: jrkrid...@inbox.com
&
Can you expand a bit on what is wrong with the dodge option? From what I see
it looks lovely witht the points exactly lined with the boxplots for each group
but perhaps I don't understand exactly what you want .
John Kane
Kingston ON Canada
> -Original Message-
> From
b = c(2.4, 4, 6, 6.7))
ww <- data.frame( is.wholenumber(aa))
cbind(aa, ww)
John Kane
Kingston ON Canada
> -Original Message-
> From: antony.akk...@ge.com
> Sent: Mon, 2 Jul 2012 03:04:48 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] Decrete value check in a ma
e on the internet and search results
usually are not too bad.
You may also want to subcribe to the ggplot2 group on google groups.
Best wishes
John Kane
Kingston ON Canada
> -Original Message-
> From: hannah@gmail.com
> Sent: Sun, 1 Jul 2012 08:39:20 -0400
> To: r-he
is unattach it( see above|), and then upgrade both
reshape2 and ggplot to to the most recent versions and see what happens running
the code from my first post.
Best of luck.
John Kane
Kingston ON Canada
> -Original Message-
> From: hannah@gmail.com
> Sent: Sat, 30 Jun
proto_0.3-9.2 RColorBrewer_1.0-5
scales_0.2.1
[13] stringr_0.6
John Kane
Kingston ON Canada
-Original Message-
From: hannah@gmail.com
Sent: Fri, 29 Jun 2012 21:31:55 -0400
To: jrkrid...@inbox.com
Subject: Re: [R] Help
Hi Petr, David and John,
Thank
; )
mdata <- melt(mydata)
p <- ggplot( mdata , aes(variable, value , colour = variable )) +
geom_boxplot() +
facet_grid( group ~ .)
p
==
John Kane
Kingston ON Canada
> -Original Message-
> From: hanna
Something like this may do it.
http://stackoverflow.com/questions/6919025/how-to-assign-colors-to-categorical-variables-in-ggplot2-that-have-stable-mappin
John Kane
Kingston ON Canada
> -Original Message-
> From: david_ly...@yahoo.com
> Sent: Wed, 27 Jun 2012 09:07:53 -0700 (
data? We really should see some sample data. See ?dput for a way to supply
some.
John Kane
Kingston ON Canada
> -Original Message-
> From: sureshmallika...@gmail.com
> Sent: Thu, 28 Jun 2012 01:58:30 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] How can I ma
1.2-4digest_0.5.2 grid_2.15.0
[5] labeling_0.1 MASS_7.3-18memoise_0.1munsell_0.3
[9] proto_0.3-9.2 RColorBrewer_1.0-5 stringr_0.6tools_2.15.0
John Kane
Kingston ON Canada
#=
legend("topleft", c("Dataset 1","Data set 2"),
cex=0.6,bty="n", fill=c("Red","Green"))
Thanks again for the help!
From: John Kane [mailto:jrkrid...@inbox.com]
Sent: 26 June 2012 23:27
To: ilai
C
Oh, I had not thought of it in those terms. It does make sense now.
John Kane
Kingston ON Canada
-Original Message-
From: ke...@math.montana.edu
Sent: Tue, 26 Jun 2012 10:57:31 -0600
To: jrkrid...@inbox.com
Subject: Re: [R] plotting two histograms on one plot
Why not just plot the two histograms on the same scale in a 2 panel plot?
John Kane
Kingston ON Canada
> -Original Message-
> From: mb...@sun.ac.za
> Sent: Tue, 26 Jun 2012 15:24:55 +0200
> To: r-help@r-project.org
> Subject: [R] plotting two histograms on one plot wit
ue, fill= Source )) +
geom_bar(position = "dodge") +
scale_y_continuous(" Scale Values") +
scale_x_discrete("X values") +
opts( title = "Graphing Exercise")
p
901 - 1000 of 1796 matches
Mail list logo