Just a guess but it looks like you need to upgrade to the latest release
(2013-04-03, Masked Marvel)
John Kane
Kingston ON Canada
> -Original Message-
> From: bogaso.christo...@gmail.com
> Sent: Sun, 12 May 2013 14:40:10 +0545
> To: r-help@r-project.org
> Subject: [
When I melt a data frame with some dates I am getting some strange results. I
seem to lose the date format with POSIXct and get a row of zeros with POSIXlt
Any suggestions as to what I am messing up? Code and data below.
Thanks,
John Kane
Kingston ON Canada
mydata <- structure(list(
Thanks very much. I could have sworn I had tried that but obviously I had
not.
So melt() is returning the correct value which is what I had suspected but I
obiously did not convert it properly.I wonder if this buggy enough to mention
the behaviour to the package maintainer?
John Kane
Amazingly enough I think i actually understand that albeit superficially.
Thanks
John Kane
Kingston ON Canada
> -Original Message-
> From: smartpink...@yahoo.com
> Sent: Mon, 13 May 2013 11:22:35 -0700 (PDT)
> To: jrkrid...@inbox.com
> Subject: Re: [R] melt in reshape2 d
Probably but since we don't know what you are doing, it is very hard to give
any advice.
Please read this for a start
https://github.com/hadley/devtools/wiki/Reproducibility and give us a clear
statement of the problem
Thanks
John Kane
Kingston ON Canada
> -Original
Please don't post in html. The list strips it out and we, now, have no idea of
what you are doing.
Have a look at https://github.com/hadley/devtools/wiki/Reproducibility for
suggestions on how to ask a qustion here.
Sample code and sample data (see ?dupt) are usually desirable.
John
Or better yet see ?dput, sorry.
John Kane
Kingston ON Canada
> -Original Message-
> From: jrkrid...@inbox.com
> Sent: Tue, 14 May 2013 09:20:59 -0800
> To: mm...@hermes.cam.ac.uk, r-help@r-project.org
> Subject: Re: [R] query re plot(confint(lmList...
>
> Please do
ave a look at
http://stackoverflow.com/questions/3744178/ggplot2-sorting-a-plot
Good luck.
John Kane
Kingston ON Canada
> -Original Message-
> From: david_ly...@yahoo.com
> Sent: Tue, 14 May 2013 12:59:07 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] H
what I mean.
Again my applogies for completely misreading the problem
John Kane
Kingston ON Canada
#
library(lubridate)
library(ggplot2)
dat1 <- structure(list(id = c(1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 4L,
4L, 4L, 4L, 4L, 4L, 5L, 5L, 5L,
https://github.com/hadley/devtools/wiki/Reproducibility
John Kane
Kingston ON Canada
> -Original Message-
> From: patrik.oha...@mpa.se
> Sent: Thu, 16 May 2013 11:50:20 +
> To: r-help@r-project.org
> Subject: [R] Three plots with logged X-axis in the same plot
>
>
+
> To: jrkrid...@inbox.com, r-help@r-project.org
> Subject: SV: [R] Three plots with logged X-axis in the same plot
>
>
>
> Hi John, Thank you for your input! The thing is that the graph would be
> to messy if I plotted all the data in a single plot. I wish I could shar
/wiki/Reproducibility
John Kane
Kingston ON Canada
> -Original Message-
> From: taharaym...@yahoo.fr
> Sent: Wed, 15 May 2013 10:14:42 +0100 (BST)
> To: r-help@r-project.org
> Subject: [R] erreur dans R
>
> Bonjour,
> dans la computation de mon modhle dans R ave
Beautiful first question.
333
ch.list <- lmList(h12~spp+t+w+l+inih|id, data=mydata)
Should that not be data= chm
John Kane
Kingston ON Canada
> -Original Message-
> From: ebel...@purdue.edu
> Sent: Thu, 16 May 2013 15:05:35 +
> To: r-help@r-project.org
>
No data. The list tends to strip out many kinds of attachements including csv
files. I'd suggest trying .txt or parking the data at someplace like
[url=http://www.mediafire.com/][b]MediaFire[/b][/url] or
Dropbox [url=https://www.dropbox.com/][b]Dropbox[/b][/url]
John Kane
Kingston ON C
m <- as.matrix(var)
John Kane
Kingston ON Canada
> -Original Message-
> From: akhgar.masu...@gmail.com
> Sent: Fri, 17 May 2013 22:45:22 +0430
> To: r-help@r-project.org
> Subject: [R] help
>
> Hello,
>
> I fail to tranfer data from a dataframe t
e http://www.theasciicode.com.ar/ for a list
write.dta(mydata, file = "stata.dta")
John Kane
Kingston ON Canada
> -Original Message-
> From: niklasfischer...@gmail.com
> Sent: Sat, 18 May 2013 15:05:57 +0200
> To: r-help@r-project.org
> Subject: [R] exporting data into
.Names = c("Record", "Average", "Maximum"), class =
"data.frame", row.names = c(NA, -3L))
names(x) <- c("Record", "\\textbf{Average}", "Maximum")
x <- xtable( x )
print( x, sanitize.text.function = function(x){x} )
###=
Using arun, data set, dat1
Is this type of thing what you want?
dat2 <- subset(dat1, dat1$Play != "B" & dat1$Offense == "Y")
with(dat2,table(Play, Offense))
John Kane
Kingston ON Canada
> -Original Message-
> From: smartpink...@yahoo.com
> Sent:
lar}{rr}
\hline
& V1 \\
\hline
a & 15 \\
b & 11 \\
c & 13 \\
d & 14 \\
e & 10 \\
f & 12 \\
g & 10 \\
h & 6 \\
i & 9 \\
\hline
\end{tabular}
\end{table}
What stunningly stupid thin
i knew it was something stunningly stupid. Thanks a lot.
John Kane
Kingston ON Canada
> -Original Message-
> From: marc_schwa...@me.com
> Sent: Fri, 24 May 2013 14:41:52 -0500
> To: jrkrid...@inbox.com
> Subject: Re: [R] xtable() with booktabs option problem
>
>
It would be nice if you told us what an OC curve is.
If it is a Operations Curve or something like it have a look at the pROC
package. It may do what you want. If that's not it, please actually tell us the
names of the curves not just the initials.
John Kane
Kingston ON C
Slightly diffferent approach but will this do what you want.
library(ggplot2)
ggplot(Data1, aes(Predictor, Response1, colour = Site)) +
geom_smooth(method= "lm", se = FALSE) +
ggtitle("Raw data with linear regresssions by Site")
John Kane
Kingston ON Canada
>
Second the RStudio but also suggest Tinn-R for a beginner as the more extenseve
code highlighting can be very useful.
John Kane
Kingston ON Canada
> -Original Message-
> From: rb...@atsu.edu
> Sent: Wed, 29 May 2013 08:17:47 -0500
> To: gibsons...@cox.net
> Subjec
No attachment. The R-help list tendst to strip out many type of attached files
though pdf and txt , among others get through.
It is better to supply the example in the email itself if possible. Have a look
at https://github.com/hadley/devtools/wiki/Reproducibility for suggestions.
John Kane
?write.table
write.table(cars, quote=FALSE)
John Kane
Kingston ON Canada
> -Original Message-
> From: wewol...@gmail.com
> Sent: Thu, 30 May 2013 10:13:26 +0200
> To: r-help@r-project.org
> Subject: [R] write table without quotation marks in column names
>
>
http://www.r-project.org/ and go from there I imagine.
You did not supply any information about your operating system so it is
difficult to give more detailed advice.
John Kane
Kingston ON Canada
> -Original Message-
> From: upananda.p...@gmail.com
> Sent: Fri, 31 May 2013
Sorry I misread your post. Just download the 3.0.1 for Windows and install.
You will need to reinstall any additional packages that you have installed.
John Kane
Kingston ON Canada
> -Original Message-
> From: upananda.p...@gmail.com
> Sent: Fri, 31 May 2013 18:11:28 +053
st of what is installed on your machine.
John Kane
Kingston ON Canada
> -Original Message-
> From: upananda.p...@gmail.com
> Sent: Fri, 31 May 2013 19:10:39 +0530
> To:
> Subject: Re: [R] how to install R 3.0.1
>
> Hi John,
>
> Thanks for your reply .How
One way is to put them in a list.
Does this help?
a0 <- data.frame(initial_size=sample(30,10),sp=gl(2,5,10),
grow=as.numeric(as.character(gl(2,5,10)))*0.5)
a2<- list()
for( i in 1:3){
a1 <- a0$initial_size+a0$grow
a2[[i]] <- cbind(sp=a0$sp,initial_size=a1+i,yr=i)
This might supply a hint on what to look for.
https://stat.ethz.ch/pipermail/r-help/2009-July/204388.html
John Kane
Kingston ON Canada
> -Original Message-
> From: ecol...@hotmail.com
> Sent: Fri, 31 May 2013 12:06:38 +
> To: r-help@r-project.org
> Subject: [R]
Arh, a sloppy copy and paste.
Thanks
John Kane
Kingston ON Canada
> -Original Message-
> From: maitra.mbox.igno...@inbox.com
> Sent: Fri, 31 May 2013 11:59:05 -0500
> To: r-h...@stat.math.ethz.ch
> Subject: Re: [R] how to install R 3.0.1
>
> Hi John,
>
Thanks Uwe. installed.packages() is definitely faster and better.
I don't think I even knew installed.packages() existed. I think I gave up
looking for something like it a year or so ago.
John Kane
Kingston ON Canada
> -Original Message-
> From: lig...@statistik.tu-
Error in format.default(x, ..., big.mark = ",", scientific = FALSE, trim =
TRUE) :
formal argument "big.mark" matched by multiple actual arguments
And since I'm here I might as well ask if there is a way to keep a couple fo
decemal points rather than rounding to t
Thanks Ben,
I did just that after getting Duncan's reply. I should have seen it myself but
for some reason thought I could treat it as an option. Myopia at its best.
John Kane
Kingston ON Canada
> -Original Message-
> From: bbol...@gmail.com
> Sent: Sun, 2 Jun 2013 20:57
It sounds like you inadvertently saved a workspace file. Have a look in your
current directory and see if there is an .RDATA file there that you don't
recognize. If so, delete it.
John Kane
Kingston ON Canada
> -Original Message-
> From: ye...@lbl.gov
> Sent: Mon, 3 Jun
Thanks David. I totally forgot that and I had that problem on Windows 3-4 years
ago before moving to linux.
John Kane
Kingston ON Canada
> -Original Message-
> From: dwinsem...@comcast.net
> Sent: Mon, 3 Jun 2013 17:18:24 -0700
> To: jrkrid...@inbox.com
> Subject: Re: [R
Interestingly enoughhelp(cast) did not work but ?cast does
As Ista says, there is no cast() in reshape2
John Kane
Kingston ON Canada
> -Original Message-
> From: tea...@gmail.com
> Sent: Wed, 5 Jun 2013 11:55:43 -0400
> To: neotropical.b...@gmail.com
> Subject: Re: [R]
Yes , I think it was only a year or two ago that the change occured.
John Kane
Kingston ON Canada
> -Original Message-
> From: neotropical.b...@gmail.com
> Sent: Wed, 05 Jun 2013 15:26:25 -0400
> To: r-help@r-project.org
> Subject: [R] reshape2 issue solved Tnx!
&g
Try:
library(ggplot2)
ggplot(mtcars, aes(mpg, qsec, colour = as.factor(gear))) +
geom_point() + geom_smooth(method = lm, se = FALSE)
You probably will have to melt your data to get into the right format.
John Kane
Kingston ON Canada
> -Original Message-
> From: arm
I think we really need to see the code.
John Kane
Kingston ON Canada
> -Original Message-
> From: sudha.krish...@marlabs.com
> Sent: Thu, 6 Jun 2013 06:37:41 +
> To: r-help@r-project.org
> Subject: [R] generating a bar chart with two axis for co-linear variable
&
Unless I completely misunderstand what you are doing you don't need to
aggregate, just drop the one column and rename things
newtemp <- temp_df[, c(1,3)]
names(newtemp) <- c("names", "w")
newtemp
John Kane
Kingston ON Canada
> -Original Message--
No image. The R-help list tends to strip out a lot of files. A pdf or txt
usually gets through. In any case I understand what you want this may do it.
library(ggplot2)
dat1 <- data.frame( v = rnorm(13),
w = rnorm(13),
x = rnorm(13),
y = rnorm(13),
z = rnorm(13))
plotmatrix(dat1)
John K
Just calculate a new sequence if those percentages are in an orderly sequence.
See ?seq
v <- seq(25, 200, by = 10)
or perhaps the values are actually text
?substr
x <- substr(v, 1,2)
John Kane
Kingston ON Canada
> -Original Message-
> From: diddle1...@fastwebnet.it
efinately have
helped.
Many or most R-help readers do not use nabble and really hate to have to go
there to see the context of a message. You should always leave the important
parts of earlier messages to let the R-help reader see what the problems and
other suggested solutions may be.
Hi Keith,,
ggpairs(dat1, upper = list(continuous = "density", combo = "box"))
appears to be what you want.
John Kane
Kingston ON Canada
> -Original Message-
> From: kw1...@gmail.com
> Sent: Tue, 11 Jun 2013 09:25:48 -0400
> To: r-help@r-project.org
code works fine and fairly
fast in a terminal.
John Kane
Kingston ON Canada
> -Original Message-
> From: jrkrid...@inbox.com
> Sent: Tue, 11 Jun 2013 06:48:31 -0800
> To: kw1...@gmail.com, r-help@r-project.org
> Subject: [R] ggpairs in GGally replaces plotmatrix in ggplot2
ave to ask RStudio about the speed and crashes.
John Kane
Kingston ON Canada
> -Original Message-
> From: kw1...@gmail.com
> Sent: Tue, 11 Jun 2013 16:06:08 -0400
> To: jrkrid...@inbox.com
> Subject: Re: ggpairs in GGally replaces plotmatrix in ggplot2
>
> John,
>
index the columns to select
lets say you want to select a set of colmns 2,4,6,8
Try something like this. (not run)
mycols <- c(2,4,6,8)
select(mydata[ , mycols] , mdata$x == 3)
John Kane
Kingston ON Canada
> -Original Message-
> From: bcrom...@utk.edu
> Sent: Tue, 11 Jun 2
Have a look at http://www.burns-stat.com/documents/tutorials/impatient-r/ . I
think the section on blank screen syndrome may help.
John Kane
Kingston ON Canada
> -Original Message-
> From: montana3...@gmail.com
> Sent: Tue, 11 Jun 2013 16:59:34 -0700
> To: ruipbarr
I'm runnng Ubuntu 12.10.
John Kane
Kingston ON Canada
> -Original Message-
> From: istaz...@gmail.com
> Sent: Tue, 11 Jun 2013 17:54:55 -0400
> To: kw1...@gmail.com
> Subject: Re: [R] ggpairs in GGally replaces plotmatrix in ggplot2
>
> I think the ggpairs equival
It would probably help if you posted your sessionInfo()
Just before everything freezes issue the command
sessionInfor()
copy the output and paste it into an email.
John Kane
Kingston ON Canada
> -Original Message-
> From: anferg...@aol.com
> Sent: Fri, 14 Jun 2013 10:52
Seems unlikely but it runs on Windows 8
John Kane
Kingston ON Canada
> -Original Message-
> From: chet.selig...@gmail.com
> Sent: Sat, 15 Jun 2013 07:50:45 -0700
> To: r-help@r-project.org
> Subject: [R] Widows 8
>
> Can anyone confirm that R runs on Widows 8
results in your next email.
Good luck
John Kane
Kingston ON Canada
> -Original Message-
> From: jacqueline.oe...@gmx.ch
> Sent: Tue, 25 Jun 2013 16:25:59 +0200
> To: r-help@r-project.org
> Subject: [R] Fwd: Questions about working with a dataframe
>
>
>
>> D
Ouch. My apologies David, after reading the message I didn't bother to look at
the txt file.
John Kane
Kingston ON Canada
> -Original Message-
> From: dwinsem...@comcast.net
> Sent: Tue, 25 Jun 2013 09:09:15 -0700
> To: jrkrid...@inbox.com
> Subject: Re: [R]
names(height) <- paste0(names(height),".D1")
It would be better if you supplied the data using dput()
Have a lookt at https://github.com/hadley/devtools/wiki/Reproducibility for
some suggestions on forming a good question.
John Kane
Kingston ON Canada
> -Original Mes
before we
managed to reply
Other responses in line
John Kane
Kingston ON Canada
-Original Message-
From: jacqueline.oe...@gmx.ch
Sent: Wed, 26 Jun 2013 11:18:41 +0200 (CEST)
To: dwinsem...@comcast.net, jrkrid...@inbox.com, r-help@r-project.org
Subject: Aw: Re: [R] Fwd: Questions about
mm <- 1:10
nn <- mm + .001
John Kane
Kingston ON Canada
> -Original Message-
> From: careys...@gmail.com
> Sent: Wed, 26 Jun 2013 16:48:34 +0100
> To: r-help@r-project.org
> Subject: [R] XYZ data
>
> I have x, y, z data. The x, y fields dont change b
You're right. I was in a hurry and misread the question
John Kane
Kingston ON Canada
> -Original Message-
> From: cl...@ecy.wa.gov
> Sent: Wed, 26 Jun 2013 09:16:21 -0700 (PDT)
> To: jrkrid...@inbox.com
> Subject: Re: [R] XYZ data
>
> John,
>
> That st
, the HTML gets
dropped and any formating goes to pot.
I think the actual answer is probably straight forward but we really should
have the data
Thanks
John Kane
Kingston ON Canada
> -Original Message-
> From: suparna.mitra...@gmail.com
> Sent: Fri, 28 Jun 2013 13:25:59 +
I have encountered what looks to be a problem with ggpairs in ggally. No idea
it is from 3.0 as I had never used ggpairs before update to 3.0 but it sounds a
bit similar
http://support.rstudio.org/help/discussions/problems/6796-ggpairs-in-ggally-very-slow-in-rstudio-and-may-cause-a-crash
John
ready loaded since you created it in the read statement
John Kane
Kingston ON Canada
> -Original Message-
> From: y_re...@hotmail.com
> Sent: Fri, 28 Jun 2013 12:31:11 +
> To: rolf.tur...@xtra.co.nz, jdnew...@dcn.davis.ca.us
> Subject: Re: [R] Data Package Query
>
>
function to create such
an object.
John Kane
Kingston ON Canada
> -Original Message-
> From: zhaoran1...@gmail.com
> Sent: Fri, 28 Jun 2013 15:30:44 +0300
> To: r-help@r-project.org
> Subject: [R] what is the difference between the function "expand.grid"
> and "
Are you sure that you have write permission to the directory that R is trying
to write to?
John Kane
Kingston ON Canada
> -Original Message-
> From: joao.fadi...@med.lu.se
> Sent: Wed, 12 Sep 2012 12:37:42 +
> To: r-help@r-project.org
> Subject: [R] SNPRelat
xoKE seems
to give a good idea of what has/is happening.
John Kane
Kingston ON Canada
> -Original Message-
> From: n...@jonasstein.de
> Sent: Wed, 12 Sep 2012 01:29:25 +0200
> To: r-h...@stat.math.ethz.ch
> Subject: [R] how to qplot two x-axis x1:Farenheit x2:Celsius
>
It sounds like a local system problem. Are you running on a local intranet or
have something cpu intenstive running in the background?
John Kane
Kingston ON Canada
> -Original Message-
> From: ldec...@comcast.net
> Sent: Wed, 12 Sep 2012 18:05:19 + (UTC)
> To: r-help@r
Well, if nothing else it is probably time to update anyway.
If that does not help, we can hope that some of the gurus have some
suggestions. It really sounded like a local network problem :(
Best of luck
John Kane
Kingston ON Canada
-Original Message
I have never used the package but a quick look at the manual suggests a number
of corrections for multiple correlatins so you probably should look into it.
See "kruskal" in the manual for a start.
John Kane
Kingston ON Canada
> -Original Message-
> From: amy_kir
This looks a lot like homework. However here is a hint
ABD1990 <- subset(xx, Year == 1990 & Market == "ABC")
John Kane
Kingston ON Canada
> -Original Message-
> From: jowe.tjioe.2...@business.smu.edu.sg
> Sent: Sat, 15 Sep 2012 02:22:42 -0700 (PDT)
> To: r
to aggregate the results.
Repeat for all grains. Actually look into setting the whole thing up as a
function. You should be able to write the program once as a function and do a
loop or an apply() to do all 11 grains in one go.
Best of luck.
John Kane
Kingston ON Canada
> -Or
there.
p <- ggplot(mydata , aes(as.factor(start), peak )) + geom_bar(stat=
"identity", )
p
John Kane
Kingston ON Canada
> -Original Message-
> From: hnorp...@googlemail.com
> Sent: Sat, 15 Sep 2012 18:39:54 +0200
> To: r-help@r-project.org
> Subject: [R] q
to plot as
> first?
This is far beyond my knowledge of ggplot but I would certainly think it should.
as.numeric( as.factor(mydata$start)))
[1] 1 2 3 4 5 6
so why would we get something like 2 3 4 5 6 1 if I am reading this correctly?
>
> Rui Barradas
>
> Em 16-09-2012 00:20, Joh
attern == "FALSE+FALSE+FALSE+FALSE+TRUE"
| mzcount$crop_pattern == "TRUE+FALSE+FALSE+FALSE+FALSE")
m51 <- ddply(m51, .(WS), summarize, count = sum(count))
m51
=
John Kane
Kingston ON Canada
> -Orig
nd_crop , aes(crop_pattern, crop_pattern_ws
)) + geom_point() +
coord_flip() + facet_grid(WS ~ . )
p
# save the last graph to look at it in a graphics package== still terrible
ggsave( "/home/john/Rjunk/crop.png")
##
>
> Thanks again for the help.
> Cheers,
>
Not sure if it is quite the same but ggplot2 does this as its default
formatting.
library(ggplot2)
x<-rnorm(100)
qplot(factor(0),x, geom="boxplot")
John Kane
Kingston ON Canada
> -Original Message-
> From: marongiu.lu...@gmail.com
> Sent: Tue, 18 Sep 2012 09:35:4
o output a formatted data set that you can copy and paste into your
email.
John Kane
Kingston ON Canada
> -Original Message-
> From: kari0...@uni.flinders.edu.au
> Sent: Tue, 18 Sep 2012 01:18:12 +
> To: r-help@r-project.org
> Subject: [R] extracting values
>
>
e the information by Crop and Period in each element of the
list to get the corresponding sums for each of the desired patterns?
Thus for example in result[[1]] we get all the results for condition 19 (crops)
from wanted?
John Kane
Kingston ON Canada
> -Original Message-
> From
ears of SAS
or SYSTAT or even SPSS.
>
> Everything flows without warnings, so I have the bad feeling to find
> myself less smart than R...
> That not a big problem, but having not understood the arguments, I do
> not understand the functions (so, the results).
> Thanks in advance for meeting this call for some extra-help...
Some like this help?
mydata$modnew <- cut(mydata$moderator, 7)
ggplot(mydata, aes(x=predictor, y=outcome, color=modnew)) +
geom_point() + stat_smooth(method=lm, se=TRUE, fullrange=T)
John Kane
Kingston ON Canada
> -Original Message-
> From: dadr...@gmail.com
> Sent: Wed,
summary(fit1) perhaps/
John Kane
Kingston ON Canada
> -Original Message-
> From: cacamende...@gmail.com
> Sent: Wed, 26 Sep 2012 11:39:30 -0300
> To: r-help@r-project.org
> Subject: [R] Retrieve regression summary results after rq
>
> Hi all,
>
> I am usi
Clumsy but this should do it.
aa$set <- rep("a", length(aa$position))
bb$set <- rep("b", length(bb$position))
(mydata <- rbind(aa,bb))
p <- ggplot( mydata , aes( position, count, colour = set )) + geom_line()
p
John Kane
Kingston ON Canada
>
Strange, I have never used it but presumably you are using the package
‘survey’? The manual suggests summary(xx) should work.
What results or error messages do you get?
John Kane
Kingston ON Canada
> -Original Message-
> From: cacamende...@gmail.com
> Sent: Wed, 26 Sep 2012
distance, colour = Diet_B )) +
geom_boxplot() +
xlab("Migration") + ylab("Distance")
p
John Kane
Kingston ON Canada
> -Original Message-
> From: r...@temple.edu
> Sent: Mon, 24 Sep 2012 19:00:09 -0400
> To: elaine.kuo...@gmail.com
> Subject: Re:
I think I know considerably less than you do but have a look as the sp package.
I think you are referring to and object type SpatialPolygonsDataFrame" from
the package
sp or which that package will produce.
Good luck. Now to install rgdal.
John Kane
Kingston ON Canada
> -
lable psychometric packages if that helps.
John Kane
Kingston ON Canada
> -Original Message-
> From: fronc...@vizja.pl
> Sent: Sat, 29 Sep 2012 22:36:47 +0200
> To: r-help@r-project.org
> Subject: [R] norm tables
>
> Dear all,
>
> Is anybody knows simple met
It's hard to know what's wrong with your code since you did not supply it.
Please supply a small working example and some data. To supply data use the
dput() function, see ?dput() for details.
John Kane
Kingston ON Canada
> -Original Message-
> From: zhyjiang
It's hard to know what's wrong since you did not supply your code.
Please supply a small working example and some data. To supply data use the
dput()
function, see ?dput() for details.
Welcome to R.
John Kane
Kingston ON Canada
> -Original Message-
> From: mbh
t;yes", "yes", "yes", "yes",
"no", "no", "no", "no", "no", "yes", "yes", "yes", "yes", "no",
"no", "no"), v1 = c(0.2, 0.3, 0.3, 0.4, 0.3, 0.3, 0.3
<- to the output.
Your method works just fine but it's a bit more cumbersome with a lot of
data.
Also, please reply to the R-help list as well. It is a source of much more
expertise than me and it also can reply when a single person is unavailable.
I hope this helps
Jo
In line
John Kane
Kingston ON Canada
-Original Message-
From: zhyjiang2...@hotmail.com
Sent: Fri, 5 Oct 2012 05:41:29 +0800
To: jrkrid...@inbox.com
Subject: RE: [R] smoothScatter plot
Hi John,
Thanks for your email. Your way works good.
However, I
Try the reshape2 package. You will probablly have to install the package.
install.packages("reshape2)
with your data as xx :
library(reshape2)
melt(xx, id =c("Year", "Route", "Point"))
seems to do what you want.
John Kane
Kingston ON Canada
> --
Where is the csv data coming from? If it is an export from a spreadsheet,
Excel (and others?) has a nasty habit of exporting "as displayed" rather than
the actual number as it's default.
John Kane
Kingston ON Canada
> -Original Message-
> From: f.seha...@gma
give you something similar to smoothScatter() but
probably without the colours though a question on the google groups ggplot2
group might help.
Good luck
Good luck,
John Kane
Kingston ON Canada
-Original Message-
From: zhyjiang2...@hotmail.com
Sent: Sat, 6 Oct 2012 01:01:41 +0800
To
es = c(NA, -6L))
y1 <- melt(yy) # using reshape2
ggplot(y1, aes(variable, value))+ geom_boxplot()
# or
ggplot(y1, aes(variable, value))+ geom_boxplot() + facet_grid(variable ~ .)
John Kane
Kingston ON Canada
> -Original Message-
> From: dagr...@hotmail.com
> Sent: Fr
For some reason this seems to work:
d <- "04MAY2011:08:19:00"
toDaySecond(d)
John Kane
Kingston ON Canada
> -Original Message-
> From: smartpink...@yahoo.com
> Sent: Tue, 16 Oct 2012 05:22:29 -0700 (PDT)
> To: sleepingw...@gmail.com
> Subject:
lly,
dput(head(testfile, 100)) will be sufficient.
John Kane
Kingston ON Canada
> -Original Message-
> From: farnoosh...@yahoo.com
> Sent: Mon, 15 Oct 2012 12:31:12 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] library(rmeta)
>
> Hello,
>
>
quot;ABCD",
"EFGH", "FGHJ", ""), class = "factor"), Char3 = structure(c(1L,
1L, 2L, 3L, 1L, 1L, 2L, 3L), .Label = c("ASDFG", "D",
"EE"), class = "factor")), .Names = c("Coutry", "St
stdout.org/rcookbook/Graphs/Colors%20%28ggplot2%29/ whhich may be
of use if you are using ggplot2, or perhaps even if you are not.
John Kane
Kingston ON Canada
> -Original Message-
> From: abrut...@bennington.edu
> Sent: Fri, 19 Oct 2012 11:50:26 -0700 (PDT)
> To: r-help@r-pro
55, 65), cc <- 1:5, bb =
c("a","a","a","b","b"))
str(xx)
gbar <- ggplot(xx, aes(cc, aa, fill= cc)) + geom_bar(stat="identity")
gbar + facet_grid(bb ~ .)
John Kane
Kingston ON Canada
> -Original Message-
> Fr
it looks like
facet_grid(Aeventexhumed ~ Rayos)
+ geom_smooth(method="lm", fill=NA) + ylim(c(0, 7))
should read
facet_grid(Aeventexhumed ~ Rayos) +
geom_smooth(method="lm", fill=NA) + ylim(c(0, 7))
In ggplot the + must be on the preceding line.
John Kan
uot;), 11),
cc <- rnorm(66))
p <- ggplot(mydata , aes( bb, cc ))+ geom_boxplot() +
facet_wrap( ~ aa )
p
Setting up the overall plot with titles, etc., can take a bit of time and
head-pounding, but if you are doing a lot of graphs
801 - 900 of 1800 matches
Mail list logo