Re: [R] Rpart plot produces no text

2016-06-29 Thread John Kane
What happens if you run the code in a terminal rather than RStudio? My experience is that very, very occasionally RStudio does something a bit funny with plots. And while this may sound funny just shut down RStudio, reload it and try again. John Kane Kingston ON Canada > -Origi

Re: [R] Difficulty subsetting data frames using logical operators

2016-07-02 Thread John Kane
Just as a very minor point "read.csv" returns a data.frame. Therefore the data.frame in "data <- data.frame(read.csv("hw1_data.csv"))" is redundant and just adds clutter to the code. John Kane Kingston ON Canada > -Original Message- > From: g

Re: [R] R - Populate Another Variable Based on Multiple Conditions | For a Large Dataset

2016-07-03 Thread John Kane
The data set did not show up. The R-help list tends to strip out most file types as a safety precaution. Try renaming the file from xxx.csv to xxx.txt and it should come through alright. John Kane Kingston ON Canada > -Original Message- > From: kwa...@kemri-wellcome.org >

Re: [R] Geom_smooth

2016-07-20 Thread John Kane
. John Kane Kingston ON Canada > -Original Message- > From: tgs...@gmail.com > Sent: Wed, 20 Jul 2016 10:01:44 -0700 > To: r-help@r-project.org > Subject: [R] Geom_smooth > > Default level = 0.95. > Does this mean +/- 0.025 from estimate? > > [[al

Re: [R] Turn character /string as variable/column name in summarize in dplyr

2016-07-22 Thread John Kane
It really might help to have a minimum working example Have a look at http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and/or http://adv-r.had.co.nz/Reproducibility.html John Kane Kingston ON Canada > -Original Message- > From:

Re: [R] SAS file

2016-08-07 Thread John Kane
As Jim says the file did not arrive. R-help is very fussy about what kind of files it accepts. If you are still having a problem it would be a good idea to upload it to file-sharing place such as Dropbox or Mediafire and just post the link here. John Kane Kingston ON Canada > -Origi

Re: [R] No "number of days" format for 'difftime'?

2016-08-08 Thread John Kane
Try d <- as.difftime("6-08:18:33","%d-%H:%M:%S") John Kane Kingston ON Canada > -Original Message- > From: loris.benn...@fu-berlin.de > Sent: Mon, 8 Aug 2016 11:37:33 +0200 > To: r-h...@stat.math.ethz.ch > Subject: [R] No "number of days"

Re: [R] No "number of days" format for 'difftime'?

2016-08-08 Thread John Kane
n ask yourself "What could they possibly mean by what they have written that would tell me what I need to know?". -- Rolf Turner (on reading the help pages) R-help (June 2013) John Kane Kingston ON Canada > -Original Message- > From: loris.benn...@fu-berlin.de >

Re: [R] Unexpected behavior with cbind.ts

2016-08-10 Thread John Kane
It would help if you showed us the code you have been using so far plus some sample data (use dput() to produce it) can really help. See ttp://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example http://adv-r.had.co.nz/Reproducibility.html John Kane Kingston ON

Re: [R] Second order stochastic dominance test

2016-08-30 Thread John Kane
google R package test the second order stochastic dominance of two curves John Kane Kingston ON Canada > -Original Message- > From: zoraze...@gmail.com > Sent: Tue, 30 Aug 2016 11:31:09 +0200 > To: r-help@r-project.org > Subject: [R] Second order stochastic dominance t

Re: [R] How can I add text in plot and x axis of figures created in ggplot2?

2016-09-01 Thread John Kane
ugh to know if what you want to do is doable but I am a bit dubious. I wonder if you have considered creating 4 independent graphs and using grid.Extra or grid.arrange to get the results you want.? Sorry not to be of more help John Kane Kingston ON Canada > -Original Message- >

Re: [R] Off topic, but hopefully not totally irrelevant: on MS Excel and genomics

2016-09-02 Thread John Kane
and this is a great addition. John Kane Kingston ON Canada > -Original Message- > From: bgunter.4...@gmail.com > Sent: Thu, 1 Sep 2016 08:09:46 -0700 > To: r-help@r-project.org > Subject: [R] Off topic, but hopefully not totally irrelevant: on MS Excel > and

Re: [R] workflow getting UTF-8 csv in and out of R on Mac (spreadsheet editor)

2016-09-02 Thread John Kane
An alternative to Erich Neuwirth's solution might be to use Apache OpenOffice or the (roughly) equivalent LibreOffice. I routinely use UTF-8 with these. John Kane Kingston ON Canada > -Original Message- > From: govo...@gmail.com > Sent: Fri, 2 Sep 2016 13:03:20 +0200

Re: [R] GGplot annotate by facet

2016-09-10 Thread John Kane
() format. I always mess up geom_bar() calls and at the moment don't understand exactly what you are doing here qplot(factor(Value),data=dat1, geom="bar",fill=factor(Type)) John Kane Kingston ON Canada > -Original Message- > From: smk...@mail.missouri.edu > S

Re: [R] Drill down reports in R

2016-09-13 Thread John Kane
It is not really clear what you want but have a look at ?subset perhaps. John Kane Kingston ON Canada > -Original Message- > From: manu.redd...@gmail.com > Sent: Tue, 13 Sep 2016 16:16:05 +0530 > To: r-help@r-project.org > Subject: [R] Drill down reports in R > >

Re: [R] Query on the R of free soft version 3

2016-09-21 Thread John Kane
What is your operating system? Please do not post in HTML. John Kane Kingston ON Canada > -Original Message- > From: kkam-...@echigo.ne.jp > Sent: Wed, 21 Sep 2016 09:30:15 +0900 > To: r-help@r-project.org > Subject: [R] Query on the R of free soft vers

Re: [R] Fw: R problem

2016-09-27 Thread John Kane
ons on how to ask a question here. Then send a new email with the code and data included in the body of the email. Someone might help. John Kane Kingston ON Canada > -Original Message- > From: r-help@r-project.org > Sent: Tue, 27 Sep 2016 16:11:06 + (UTC) > To: r-help@r

Re: [R] Extracting xml data to data frames

2015-04-16 Thread John Kane
/Reproducibility.html for some hints. John Kane Kingston ON Canada > -Original Message- > From: g.ru...@bham.ac.uk > Sent: Thu, 16 Apr 2015 17:57:44 + > To: r-help@r-project.org > Subject: [R] Extracting xml data to data frames > > Hi Rgonauts, > > I am trying to parse

Re: [R] Where is the R Graph Gallery?

2015-04-18 Thread John Kane
I think it moved to http://rgraphgallery.blogspot.com/ with a different interface. John Kane Kingston ON Canada > -Original Message- > From: jsz...@yeah.net > Sent: Sat, 18 Apr 2015 20:10:50 +0800 > To: r-help@r-project.org > Subject: [R] Where is the R Graph Gallery

Re: [R] Where is the R Graph Gallery?

2015-04-18 Thread John Kane
I thought I'd read about a migration. Well so much for memory. John Kane Kingston ON Canada > -Original Message- > From: e...@debian.org > Sent: Sat, 18 Apr 2015 09:16:44 -0500 > To: jrkrid...@inbox.com > Subject: Re: [R] Where is the R Graph Gallery? > > &

Re: [R] Problem with col

2015-04-20 Thread John Kane
ot;, "c", "d"), bb = c("1", "2", "3", "4")), .Names = c("aa", "bb"), row.names = c(NA, -4L), class = "data.frame") If yo do dat1 dat2 they look the same on the screen but if you do str() they are not the same. s

Re: [R] modifications using “stat_summary” in ggplot

2015-04-22 Thread John Kane
ble-example for some hints. For this last link it is a good idea to follow the " reproducible example " link for more concrete suggestions. By the way calling a data.frame "data" is not a good idea. Data is a predefined function in R . Type ?data to see what I mean. John

Re: [R] cbind question, please

2015-04-24 Thread John Kane
ot;4", "5", "6", "7", "dog", "cat", "tree"), .Dim = 3:4, .Dimnames = list(NULL, c("dog", "cat", "tree", "big.char"))) John Kane Kingston ON Canada > -Original Message- > From: eri

Re: [R] help

2015-04-24 Thread John Kane
Bonjour, We need more information. See Reproducibility http://adv-r.had.co.nz/Reproducibility.html for some suggestions on how to ask a question. John Kane Kingston ON Canada > -Original Message- > From: mamadouns...@gmail.com > Sent: Fri, 24 Apr 2015 13:26:32 +0100 >

Re: [R] Why is removeSparseTerms() not doing anything?

2015-04-24 Thread John Kane
Reproducibility http://adv-r.had.co.nz/Reproducibility.html http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example John Kane Kingston ON Canada > -Original Message- > From: mikeh...@y7mail.com > Sent: Wed, 22 Apr 2015 18:52:45 + (UTC) >

Re: [R] download

2015-04-25 Thread John Kane
> -Original Message- > From: s.f.jal...@gmail.com > Sent: Sat, 25 Apr 2015 15:46:34 +0200 > To: r-help@r-project.org > Subject: [R] download > > I am a student from Sweden. Welcome from Canada > I would like to download and install R program to work on statistics. > If I want to downloa

Re: [R] knittr: non-numeric argument to binary operator

2015-04-26 Thread John Kane
We need some idea of what you were actually doing (i.e code, data, ... ) See http://adv-r.had.co.nz/Reproducibility.html for some suggestions. John Kane Kingston ON Canada > -Original Message- > From: m...@markdrummond.ca > Sent: Sun, 26 Apr 2015 16:41:32 -0400

Re: [R] Question about base::rank results

2015-04-27 Thread John Kane
Ah, thanks. That makes sense. John Kane Kingston ON Canada > -Original Message- > From: petr.pi...@precheza.cz > Sent: Mon, 27 Apr 2015 08:29:36 + > To: giorgio.garzi...@ericsson.com, r-help@r-project.org > Subject: Re: [R] Question about base::rank results > >

Re: [R] Help Interpreting Linear Mixed Model

2015-04-27 Thread John Kane
John Kane Kingston ON Canada > -Original Message- > From: joshuamichaeldi...@gmail.com > Sent: Mon, 27 Apr 2015 08:54:51 +0100 > To: thierry.onkel...@inbo.be > Subject: Re: [R] Help Interpreting Linear Mixed Model > > Hello Thierry, > > No, this isn

Re: [R] Help Interpreting Linear Mixed Model

2015-04-27 Thread John Kane
Joshua It would also help if you told us what your scientific question was. At the moment we know what R commands you used and have seen the head of your dataset but not why you are doing it. I would summarise what you have given us as 1 - most ID only occur once 2 - goal keepers

Re: [R] DeSolver giving "NA" as output, but running fully.

2015-04-27 Thread John Kane
Data? Use deput() (see ?dput) to provide some sample data. Also you might find this useful http://adv-r.had.co.nz/Reproducibility.html John Kane Kingston ON Canada > -Original Message- > From: walke...@umn.edu > Sent: Mon, 27 Apr 2015 13:34:54 -0700 (PDT) > To: r-help@r

Re: [R] Help Interpreting Linear Mixed Model

2015-04-27 Thread John Kane
um NA NA NA NA NA NA NA NA NA NA ... $ YoYo: int 80 80 160 160 160 160 160 160 160 160 ... John Kane Kingston ON Canada -Original Message- From: joshuamichaeldi...@gmail.com Sent: Mon, 27 Apr 2015 23:35:13 +0100 To: jrkrid...@inbox.com Subject: Re: [R] Help Interpreting Linear Mixed

Re: [R] Help Interpreting Linear Mixed Model

2015-04-28 Thread John Kane
dinner time so no guarantees. I think that there are faster and better ways to do this but this is fairly basic and "relatively' self-documenting. After that, it depends on what you want to do with the data. I hope this helps John Kane Kingston ON Canada -Original Message- Fro

Re: [R] help - hoslem.test

2015-04-30 Thread John Kane
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example John Kane Kingston ON Canada > -Original Message- > From: lutipilo...@yahoo.com.br > Sent: Wed, 29 Apr 2015 18:45:26 -0700 > To: r-help@r-project.org > Subject: [R] help - hoslem.

Re: [R] help - hoslem.test

2015-04-30 Thread John Kane
/UFRGS > NDE Odontologia - UNIVATES > Telefone: (51) 84512344 > > > Em qui, 30/4/15, John Kane escreveu: > > Assunto: RE: [R] help - hoslem.test > Para: "Luciane Maria Pilotto" , > r-help@r-project.org >

Re: [R] help - hoslem.test

2015-04-30 Thread John Kane
Kevin Thorpe pointed out to me that there is a dropbox link at the very bottom of the post that I missed. :( I just downloaded it, read it in and it looks fine. John Kane Kingston ON Canada > -Original Message- > From: petr.pi...@precheza.cz > Sent: Thu, 30 Apr 2015 14:25

Re: [R] Help with making Loop

2015-05-01 Thread John Kane
questions in R-help see http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example welcome to R-help John Kane Kingston ON Canada > -Original Message- > From: fazal.h...@curie.fr > Sent: Fri, 1 May 2015 20:05:22 + > To: r-help@r-project.org > Su

Re: [R] Fwd: Question about paired plotting

2015-05-04 Thread John Kane
e the code this way to help in debugging (damn typos1) and so I left it to help you see what is happening. For the lower plots, in ggplot2, you should have a look at geom_dotplot() . Here is an interesting demo of it in use. I like the addition of the median line in particular. http://rstudio-

Re: [R] MOnth over Month Variance in %

2015-05-06 Thread John Kane
. John Kane Kingston ON Canada > -Original Message- > From: shivibha...@ymail.com > Sent: Wed, 6 May 2015 03:21:27 -0700 (PDT) > To: r-help@r-project.org > Subject: [R] MOnth over Month Variance in % > > Hi All, > I have data based on truck load for various s

Re: [R] lm model exported from R to excel

2015-05-06 Thread John Kane
lf-decent formatting with it. Meanwhile, back to LaTeX where the output looks beautiful. I like booktabs :) John Kane Kingston ON Canada > -Original Message- > From: dulca...@bigpond.com > Sent: Thu, 7 May 2015 00:32:48 +1000 > To: r-help@r-project.org > Subject: Re: [R]

Re: [R] Special character is graph label

2015-05-06 Thread John Kane
Also have a look at http://astrostatistics.psu.edu/su07/R/html/grDevices/html/plotmath.html for a list of terms. Oh and it's called Xbar or X-bar. John Kane Kingston ON Canada > -Original Message- > From: dcarl...@tamu.edu > Sent: Wed, 6 May 2015 16:33:01 +000

Re: [R] MOnth over Month Variance in %

2015-05-07 Thread John Kane
Sorry, I see that I forgot the link: http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example John Kane Kingston ON Canada > -Original Message- > From: shivibha...@ymail.com > Sent: Wed, 6 May 2015 22:32:37 -0700 (PDT) > To: r-help@r-project.o

Re: [R] How does ARules in R decide on LHS and RHS??

2015-05-07 Thread John Kane
This is pretty sketchy. Perhaps some details might help. arules is in what package? Any code ? Any data? http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example John Kane Kingston ON Canada > -Original Message- > From: krishnakanth...@outlook.com

Re: [R] Identifying matched groups based on a rule

2015-05-07 Thread John Kane
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example You have not supplied anywhere near enough information. See the link above for some suggestions. John Kane Kingston ON Canada > -Original Message- > From: ajao...@gmail.com > Sent: Thu, 7 Ma

Re: [R] New to R

2015-05-10 Thread John Kane
can lead to a solution to the problem. John Kane Kingston ON Canada > -Original Message- > From: chow.bo...@gmail.com > Sent: Sun, 10 May 2015 10:44:31 +0800 > To: r-help@r-project.org > Subject: [R] New to R > > Dear R users, > > I am new to R community and wo

Re: [R] binding two lists of lists of dataframes together

2015-05-11 Thread John Kane
http://adv-r.had.co.nz/Reproducibility.html and please do not post in Html. John Kane Kingston ON Canada > -Original Message- > From: newrnew...@hotmail.com > Sent: Mon, 11 May 2015 20:16:40 + > To: r-help@r-project.org > Subject: [R] binding two lists of list

Re: [R] R Commander qcc

2015-05-17 Thread John Kane
W one of the obvious things I missed when first using R was that you can just copy and paste code into R if you are working through an example to see what is happening John Kane Kingston ON Canada > -Original Message- > From: gjkr...@gmail.com > Sent: Sat, 16 May 2015 15:39:12

Re: [R] Comparing 2 different files in R

2015-05-17 Thread John Kane
Probably but since you have not told us anything about what you are doing it is difficult to say. You might find these links helpful http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html John Kane Kingston ON

Re: [R] Comparing 2 different files in R

2015-05-17 Thread John Kane
John Kane Kingston ON Canada -Original Message- From: lyl...@gmail.com Sent: Sun, 17 May 2015 20:56:24 +1000 To: jrkrid...@inbox.com Subject: Re: [R] Comparing 2 different files in R This is not an area I am going to be able to help with but we still need a lot more information I think

Re: [R] R Commander qcc

2015-05-17 Thread John Kane
Thanks John, I had not realised they were on CRAN. Definately a great help. John Kane Kingston ON Canada > -Original Message- > From: j...@mcmaster.ca > Sent: Sun, 17 May 2015 08:15:14 -0400 > To: jrkrid...@inbox.com, gjkr...@gmail.com > Subject: Re: [R] R Commander qcc

Re: [R] Count number in r

2015-05-19 Thread John Kane
And another approach just for the heck of it. library(plyr) # where dat1 is your data dd1 <- subset(dat1, Rain >= .01) dd1$Year <- as.factor(dd1$Year) dd1$Month <- as.factor(dd1$Month) count (dd1, .(Year, Month)) John Kane Kingston ON Canada > -Original Mess

Re: [R] Count number in r

2015-05-19 Thread John Kane
If nothing suggested in this thread help I'd suggest asking in R-sig-Geo where they will be more familiar with the issues. Please do not post in HTML. It can serious mangle code to the point it is indecipherable. John Kane Kingston ON Canada -Original Message- From: jo

Re: [R] Count unchanged class attribute

2015-05-19 Thread John Kane
/how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html John Kane Kingston ON Canada > -Original Message- > From: soe.xi...@gmail.com > Sent: Tue, 19 May 2015 23:37:13 +0700 > To: r-help@r-project.org > Subject: [R] Count unchanged

Re: [R] Count unchanged class attribute

2015-05-19 Thread John Kane
John Kane Kingston ON Canada -Original Message- From: gunter.ber...@gene.com Sent: Tue, 19 May 2015 20:04:58 -0700 To: jrkrid...@inbox.com Subject: Re: [R] Count unchanged class attribute Probably "or what." This demonstrates a fundamental conundrum: many users or prospective

Re: [R] Vincentizing Reaction Time data in R

2015-05-20 Thread John Kane
John Kane Kingston ON Canada > -Original Message- > From: john.archie.mck...@gmail.com > Sent: Wed, 20 May 2015 09:38:47 -0500 > To: gabriel.wein...@gmail.com > Subject: Re: [R] Vincentizing Reaction Time data in R > > On Wed, May 20, 2015 at 5:13 AM, Gabri

Re: [R] Vincentizing Reaction Time data in R

2015-05-20 Thread John Kane
> -Original Message- > From: gabriel.wein...@gmail.com > Sent: Wed, 20 May 2015 22:31:48 +0200 > To: jrkrid...@inbox.com, john.archie.mck...@gmail.com > Subject: Re: [R] Vincentizing Reaction Time data in R > > John Kane : I already read the paper and wrote an e-mai

Re: [R] Vincentizing Reaction Time data in R

2015-05-21 Thread John Kane
In line John Kane Kingston ON Canada > -Original Message- > From: yishinlin...@gmail.com > Sent: Thu, 21 May 2015 10:13:54 +0800 > To: gabriel.wein...@gmail.com > Subject: Re: [R] Vincentizing Reaction Time data in R > > On Wed, 20 May 2015 18:13:17 +0800, > Hi

Re: [R] Vincentizing Reaction Time data in R

2015-05-22 Thread John Kane
(rtmatter, 50, replace = TRUE) # calculate 'vincentized' means for s1 s1 <- sort(s1) c1 <- cut(s1, 10, right = TRUE) ss1 <- data.frame(c1, s1) vince1 <- ddply(ss1, .(c1), summarize, decile.mean = mean(s1) ) vince1 John Kane Kingston ON Canada > -Original

Re: [R] error message

2015-05-22 Thread John Kane
://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html Welcome to the R-help list John Kane Kingston ON Canada > -Original Message- > From: catarinaramosm...@gmail.com > Sent: Fri, 22 May 2015 18:08:13 +0100 >

Re: [R] Debian Rcmdr misses sem leaps etc

2015-05-22 Thread John Kane
On Ubuntu I just let R install new packages wherever it wants. Is R on Jesse suggesting a spot? If so, go with it. John Kane Kingston ON Canada > -Original Message- > From: peter_van_summe...@hotmail.com > Sent: Fri, 22 May 2015 16:00:41 +0200 > To: r-help@r-project.o

Re: [R] data.table cant find function melt?

2015-05-22 Thread John Kane
Hi Ken, This is strange but look at the example at ?melt , pick the data.table example not the reshape2 example. It looks to me like data.table is using the reshape2 melt() Perhaps data.table used to load reshape2 but now you need to do it explicitly, or at least that's my guess. John

Re: [R] Problem with comparing multiple data sets

2015-05-23 Thread John Kane
about dput() in those links and/or see ?dput. This is the generally preferred way to supply sample or illustrative data to the R-help list. It basically creates a perfect copy of the data as it exists on 'your' machine so that R-help readers see exactly what you do. John K

Re: [R] R programming

2015-05-23 Thread John Kane
g data on their machines. If the course has not already recommended this, get a good dedicatd R text editor or IDE. Everyone has their own, but some popular ones seem to be Tinn-R, EMACS, RStudio, and there are many others. John Kane Kingston ON Canada PS: Don't post in HTML. it mangles

Re: [R] Stepwise rQTL-unknown warning message and odd QTL curve

2015-05-23 Thread John Kane
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html John Kane Kingston ON Canada > -Original Message- > From: lig...@statistik.tu-dortmund.de > Sent: Sat, 23 May 2015 09:36:15 +0200 > T

Re: [R] Looking for help finding a wrapper/package to use TA-Lib in R

2015-05-23 Thread John Kane
"We all know the power and usefulness of TA-Lib. " Well no, I've never even heard of it before. Can you give us a link or something? John Kane Kingston ON Canada > -Original Message- > From: c_c_ribe...@hotmail.com > Sent: Sat, 23 May 2015 17:13:15 +0200 &g

Re: [R] Stepwise rQTL-unknown warning message and odd QTL curve

2015-05-23 Thread John Kane
Hi Clare, I suspect that we need to see some data in dput() format. See the links I sent earlier or have a look at ?dput for more information. John Kane Kingston ON Canada > -Original Message- > From: claire.oq...@uky.edu > Sent: Sat, 23 May 2015 07:40:03 -0400

Re: [R] Looking for help finding a wrapper/package to use TA-Lib in R

2015-05-23 Thread John Kane
Terribly uninformative web-site but it does give us some idea. Thanks John Kane Kingston ON Canada > -Original Message- > From: c_c_ribe...@hotmail.com > Sent: Sat, 23 May 2015 19:50:26 +0200 > To: jrkrid...@inbox.com > Subject: Re: [R] Looking for help finding a wrapper

Re: [R] Vincentizing Reaction Time data in R

2015-05-25 Thread John Kane
turn this into a function it would not be that hard to come up with some formula to calculate bin size although statisticians may be wincing when they read that last remark. I played a little more with the idea and it really looks pretty easy to vincentizatise a data.frame. John Kane Kingston

Re: [R] png package in Ubuntu 12.04 with R 3.1.0

2015-05-26 Thread John Kane
Have you loaded the png package? library(png) John Kane Kingston ON Canada > -Original Message- > From: gudrun.gy...@wur.nl > Sent: Tue, 26 May 2015 07:10:35 + > To: r-help@r-project.org > Subject: [R] png package in Ubuntu 12.04 with R 3.1.0 > > > Dear A

Re: [R] Problem merging data frames and duplicates

2015-05-27 Thread John Kane
y has unequal n's . There are 6 states and 7 loci. It is safer to submit data in the dput() form. See ?dput for information. John Kane Kingston ON Canada > -Original Message- > From: burbrink...@gmail.com > Sent: Tue, 26 May 2015 20:12:55 -0400 > To: r-help@r-proj

Re: [R] Problem with comparing multiple data sets

2015-05-27 Thread John Kane
indicator? John Kane Kingston ON Canada > -Original Message- > From: mxalimoha...@ualr.edu > Sent: Tue, 26 May 2015 20:11:08 -0500 > To: r-help@r-project.org > Subject: Re: [R] Problem with comparing multiple data sets > > Thank you John. Yes. as you mentioned this is

Re: [R] Doubts on Forecasting

2015-05-27 Thread John Kane
question for R-help. John Kane Kingston ON Canada > -Original Message- > From: venkyno...@gmail.com > Sent: Wed, 27 May 2015 18:37:36 +0530 > To: r-help@r-project.org > Subject: [R] Doubts on Forecasting > > Hello Team. > > I have one doubts on Forecasting >

Re: [R] Printing with Header & no of observations

2015-05-27 Thread John Kane
output -- yes there is a limit, http://stackoverflow.com/questions/6758727/how-to-increase-the-limit-for-max-print-in-r. If you want to examine 'really' huge outputs you might want to use ?sink or perphaps write the file to disc (?write.file) and examine it in a text editor. John Kane K

Re: [R] Problem with comparing multiple data sets

2015-05-27 Thread John Kane
0 text1 1 text1 2 text2 1 text3 2 text4 data set 4 (mutltiple classes , multiple text, text not found in other data sets) 0 text1 0 text1 1 text1 2 text2 1 text3 2 text4 2 text6 0 text6 John Kane Kingston ON Canada > -Original Mess

Re: [R] Problem with comparing multiple data sets

2015-05-27 Thread John Kane
I have will have solved the problem by then. This is starting to sound a bit like a psychometric inter-rater reliability study. Does each data set contain the same set of items ? John Kane Kingston ON Canada -Original Message- From: mxalimoha...@ualr.edu Sent: Wed, 27 May 2015 09:18

Re: [R] Problem with comparing multiple data sets

2015-05-27 Thread John Kane
Kingston ON Canada -Original Message- From: mxalimoha...@ualr.edu Sent: Wed, 27 May 2015 09:37:24 -0500 To: jrkrid...@inbox.com, r-help@r-project.org Subject: Re: [R] Problem with comparing multiple data sets Thanks John, I really hope it can be answered. Yes all 3 data sets have the same

Re: [R] Problem with comparing multiple data sets

2015-05-28 Thread John Kane
Lovely solution Mohammed. I had not even heard of the modeest package. For names, I'd just create another data.frame mode.names <- data.frame(df[,1], Out) John Kane Kingston ON Canada > -Original Message- > From: dcarl...@tamu.edu > Sent: Thu, 28 May 2015 00

Re: [R] about transforming a data.frame

2015-05-29 Thread John Kane
since it provides a perfect copy of what you have on your machine. Any other way of providing data risks the recipients reading it into R differently than it is on your machine. John Kane Kingston ON Canada > -Original Message- > From: tan...@gmail.com > Sent: Fri, 29 May 20

Re: [R] Problem with comparing multiple data sets

2015-05-29 Thread John Kane
0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 2L, 1L, 1L, 1L, 1L, 0L, 0L, 0L, 0L, 2L, 1L, 2L)), .Names = c("terms", "class.1", "class.2", "class.3"), class = "data.fra

Re: [R] metagen - plotStudySizes: order by year and not alphabetical

2015-05-30 Thread John Kane
ference[order(dat1$year)]) p1 <- ggplot(dat1, aes( reference, size)) + geom_bar( stat = "identity") + coord_flip() p2 <- p1 + ggtitle("Studies with Cross-sectional estimates") p2 I hope this helps John Kane Kingston ON Canada > -Original Message- > From:

Re: [R] metagen - plotStudySizes: order by year and not alphabetical

2015-05-30 Thread John Kane
ross-sectional estimates") + xlab("") + ylab("Total Number of Subjects") pp2 John Kane Kingston ON Canada > -Original Message- > From: antovi...@gmail.com > Sent: Sat, 30 May 2015 14:01:28 +0200 > To: r-help@r-project.org > Subject: [R] meta

Re: [R] merge function

2015-06-01 Thread John Kane
t2, by.x = "aa", by.y = "xx") For further reference here are some suggestions about asking questions on the R-help list. In particular it is very helpful if data is supplied in dput() form (See ?dput for details) John Kane Kingston ON Canada > -Original Message-

Re: [R] merge function

2015-06-01 Thread John Kane
Let me try this again. Here are the links I forgot. My apologies. http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html John Kane Kingston ON Canada > -Original Message- > From: jrkrid...@inbox.com

Re: [R] merge function

2015-06-01 Thread John Kane
Exactly what I thought too the first time I read ?merge. R sometimes has its own approach. John Kane Kingston ON Canada > -Original Message- > From: r-help@r-project.org > Sent: Mon, 1 Jun 2015 14:47:07 + (UTC) > To: li...@dewey.myzen.co.uk, r-help@r-project.org >

Re: [R] ggplot stat_bin question

2015-06-03 Thread John Kane
more granular or more agglomerated plots. It can be fu/informative to change binwidth and see what is happening. John Kane Kingston ON Canada > -Original Message- > From: glennmschu...@me.com > Sent: Wed, 03 Jun 2015 00:32:10 + (GMT) > To: r-help@r-project.org >

Re: [R] Upload Error Occurred in uploading markdown file to RPubs

2015-06-03 Thread John Kane
down or having a few technical difficulties Visit to site at approx 2115-06-03 08:42 EDT John Kane Kingston ON Canada > -Original Message- > From: antovi...@gmail.com > Sent: Wed, 3 Jun 2015 11:49:23 +0200 > To: r-help@r-project.org > Subject: [R] Upload Error Occurred

Re: [R] reshape a data frame

2015-06-03 Thread John Kane
And I think this will do it too. library(reshape2) melt(ex, id.vars= c("gIN", "group"), variable.name = "bc", value.name = "value", na.rm = FALSE) John Kane Kingston ON Canada > -Original Message- > From: jonsle

Re: [R] Help to solve an Error

2015-06-04 Thread John Kane
It seems to be some kind of "translation" error from R (or the text editior) to HMTL. That > does not work. Try grecent <- subset(gtemp, Year >= 1995, select = c(Year, Annual)) John Kane Kingston ON Canada > -Original Message- > From: ja

Re: [R] Help to solve an Error

2015-06-04 Thread John Kane
Hi Jim, It is an problem in Gavin Simpson's code itself. Bad translation from R to HMTL it appears John Kane Kingston ON Canada > -Original Message- > From: drjimle...@gmail.com > Sent: Thu, 4 Jun 2015 21:22:37 +1000 > To: jacksonmrodrig...@gmail.com > Subject: Re:

Re: [R] Decision tree in R using csv files

2015-06-04 Thread John Kane
No attachment. See http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html John Kane Kingston ON Canada > -Original Message- > From: aks...@cosmicad.com > Sent: Thu, 4 Jun 2015 08:55:42 -0700 (PDT

Re: [R] Matrix of indexes to extract sparse data in dataframe

2015-06-05 Thread John Kane
d1 <- apply(c0, 1, min) I think does it. John Kane Kingston ON Canada > -Original Message- > From: sergio.fond...@gmail.com > Sent: Fri, 5 Jun 2015 15:06:34 +0200 > To: r-help@r-project.org > Subject: [R] Matrix of indexes to extract sparse data in dataframe &g

Re: [R] if else statement for rain data to define zero for dry and one to wet

2015-06-05 Thread John Kane
/Reproducibility.html for some suggestions on how to post to R-help. John Kane Kingston ON Canada > -Original Message- > From: roslina...@gmail.com > Sent: Fri, 5 Jun 2015 16:49:08 +0800 > To: r-help@r-project.org > Subject: [R] if else statement for rain data to define zero for d

Re: [R] Summarizing data based on Date

2015-06-09 Thread John Kane
, 1426550400, 1426032000, 1426032000, 1426723200), tzone = "UTC", class = c("POSIXct", "POSIXt")), wt = c(0, 0, 0, 770, 3.73, 70, 10, 500)), .Names = c("dd", "wt"), row.names = c(NA, -8L), class = "data.frame") str(dat1) aggregate

Re: [R] Cross tabulation with top one variable and side as multiple variables

2015-06-09 Thread John Kane
suggestions. In particular see the discussion about dput() for the best way to provide sample data to the help list. John Kane Kingston ON Canada > -Original Message- > From: p.jagad...@inrhythm-inc.com > Sent: Tue, 9 Jun 2015 01:40:53 -0700 (PDT) > To: r-help@r-project.org &

Re: [R] Summarizing data based on Date

2015-06-10 Thread John Kane
, 0, 0, 770, 3.73, 70, 10, 500)), .Names = c("dd", "wt"), row.names = c(NA, -8L), class = "data.frame") str(dat1) dat2 <- aggregate(dat1$wt, list(dat1$dd), sum) names(dat2) <- c("dd", "wt") dat2 [order(dat2$dd),] John Kane Kingston ON Ca

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread John Kane
e.name = "factor", value.name = "value") str(mdat1) ggplot(mdat1, aes(region, value, colour = factor)) + geom_line() + facet_grid(sample ~ .) John Kane Kingston ON Canada > -Original Message- > From: drjimle...@gmail.com &

Re: [R] How to validate the cluster analysis?

2015-06-10 Thread John Kane
might find http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html useful resources on how to frame questions here. John Kane Kingston ON Canada > -Original Message- > From: mylistt...@gmail.com >

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread John Kane
gging sessions a few years ago make me sensitive to such problems. John Kane Kingston ON Canada -Original Message- From: d...@u.washington.edu Sent: Wed, 10 Jun 2015 12:07:27 -0700 To: rosit...@gmail.com Subject: Re: [R] graphs, need urgent help (deadline :( ) Here is code that IS tested.

Re: [R] graphs, need urgent help (deadline :( )

2015-06-10 Thread John Kane
You have curly quotes rather than plain ones here : col=4,type=“l”,xlab=“Region”,ylab=“factor") John Kane Kingston ON Canada -Original Message- From: d...@u.washington.edu Sent: Wed, 10 Jun 2015 11:32:59 -0700 To: rosit...@gmail.com Subject: Re: [R] graphs, need urgent help (dea

Re: [R] Problem with Volcanoplot

2015-06-11 Thread John Kane
ask a question on the R-help list. Welcome to R and the R-help list. John Kane Kingston ON Canada > -Original Message- > From: gabinpier...@yahoo.fr > Sent: Thu, 11 Jun 2015 15:05:34 + (UTC) > To: r-help@r-project.org > Subject: [R] Problem with Volcanoplot > &g

  1   2   3   4   5   6   7   8   9   10   >