Re: [R] Manually inserting an extra tick on the y axis in ggplot2

2016-03-25 Thread John Kane
Re scale_y_continuous() have a look at http://stackoverflow.com/questions/8696/specify-tick-marks-on-y-axis-ggplot2 which might suggest some approaches. John Kane Kingston ON Canada > -Original Message- > From: kmna...@gmail.com > Sent: Fri, 25 Mar 2016 10:07:10 -0400 >

Re: [R] installing packages

2016-03-21 Thread John Kane
Can you load the downloaded library? If so I'd not worry about it. John Kane Kingston ON Canada > -Original Message- > From: jfhens...@gmail.com > Sent: Mon, 21 Mar 2016 16:07:41 -0500 > To: r-help@r-project.org > Subject: [R] installing packages > > Dea

Re: [R] How To Start R Studio After Installation

2016-03-19 Thread John Kane
What is your operating system? John Kane Kingston ON Canada > -Original Message- > From: prasad.prasad.k...@gmail.com > Sent: Sat, 19 Mar 2016 19:39:35 +0530 > To: r-help@r-project.org > Subject: [R] How To Start R Studio After Installation > > Hello, > &g

Re: [R] Exporting Commands and Results

2016-03-19 Thread John Kane
Perhaps knitr (http://yihui.name/knitr/)? John Kane Kingston ON Canada > -Original Message- > From: reichm...@sbcglobal.net > Sent: Fri, 18 Mar 2016 17:00:00 -0500 > To: r-help@r-project.org > Subject: [R] Exporting Commands and Results > > R-Users > >

Re: [R] plot numeric vs character

2016-03-19 Thread John Kane
Another approach using ggplot2 and shamelessly swiped from http://www.sthda.com/english/wiki/ggplot2-dot-plot-quick-start-guide-r-software-and-data-visualization. library(ggplot2) ggplot(mydf, aes(x=let, y=num)) + geom_dotplot(binaxis='y', stackdir='center', dotsize

Re: [R] Warning message: Computation failed in `stat_bin()`: attempt to apply non-function

2016-03-18 Thread John Kane
look at the distribution. John Kane Kingston ON Canada > -Original Message- > From: shahab.mok...@gmail.com > Sent: Thu, 17 Mar 2016 19:01:19 +0100 > To: r-help@r-project.org > Subject: [R] Warning message: Computation failed in `stat_bin()`: attempt > to apply non-f

Re: [R] please help

2016-03-14 Thread John Kane
In line John Kane Kingston ON Canada > -Original Message- > From: bgunter.4...@gmail.com > Sent: Mon, 14 Mar 2016 07:45:28 -0700 > To: damjanfaks2...@gmail.com > Subject: Re: [R] please help > > ... also, **if** this is homework, this list has a no homework poli

Re: [R] please help

2016-03-14 Thread John Kane
John Kane Kingston ON Canada > -Original Message- > From: damjanfaks2...@gmail.com > Sent: Mon, 14 Mar 2016 09:43:45 +0100 > To: r-help@r-project.org > Subject: [R] please help > > Dear all, > > with the below 2 files I would like to to the t.test and va

Re: [R] R 3.2.3 on Win8; mkdir command produces error

2016-02-15 Thread John Kane
John Kane Kingston ON Canada -Original Message- From: istaz...@gmail.com Sent: Mon, 15 Feb 2016 11:06:47 -0500 To: jrkrid...@inbox.com Subject: Re: [R] R 3.2.3 on Win8; mkdir command produces error On Feb 15, 2016 8:53 AM, "John Kane" wrote: > > I'd say that Bori

Re: [R] R 3.2.3 on Win8; mkdir command produces error

2016-02-15 Thread John Kane
ommend downloading and installing RStudio. https://www.rstudio.com/products/rstudio/download/ . It is an excellent IDE and makes working with R much easier. @Ista While I agree that Heather should ask her instructor for help, I don't see assisting a student getting data into R as helping with a p

Re: [R] Estimating Mean of a Poisson Distribution Based on Interval censoring

2016-02-14 Thread John Kane
Thank you, kind sir, you are correct but I was too rushed to write more as the bread needed to be taken out of the oven. John Kane Kingston ON Canada > -Original Message- > From: pda...@gmail.com > Sent: Sun, 14 Feb 2016 15:37:22 +0100 > To: jrkrid...@inbox.com >

Re: [R] Estimating Mean of a Poisson Distribution Based on Interval censoring

2016-02-14 Thread John Kane
th SAS it may be that R is correct or just that R and SAS use slightly different algorithms. John Kane Kingston ON Canada > -Original Message- > From: r-help@r-project.org > Sent: Sat, 13 Feb 2016 08:45:02 + (UTC) > To: r-help@r-project.org > Subject: [R] Estimat

Re: [R] trimmed mean and Winsorized mean

2016-01-21 Thread John Kane
new R user John Kane Kingston ON Canada > -Original Message- > From: petr.pi...@precheza.cz > Sent: Thu, 21 Jan 2016 13:40:41 + > To: mkas...@uaf.edu.pk, r-help@r-project.org > Subject: Re: [R] trimmed mean and Winsorized mean > > Hi > > Out of cur

Re: [R] Incorrect Summarization after As.numeric

2015-12-28 Thread John Kane
It would likely help to have some sample data. Please 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: shi

Re: [R] Colour input in geom line

2015-12-23 Thread John Kane
-make-a-great-r-reproducible-example and/or http://adv-r.had.co.nz/Reproducibility.html They suggest some strategies for asking questions on R-help. Otherwise, I think Jeff's link should help. John Kane Kingston ON Canada > -Original Message- > From: pushan.zool...@gmail

Re: [R] R studio installation and running

2015-12-23 Thread John Kane
Desktop but you would be better off asking this in an RStudio forum. It is a bit off-topic here. John Kane Kingston ON Canada > -Original Message- > From: ragi...@hotmail.com > Sent: Tue, 22 Dec 2015 23:10:58 +0200 > To: r-help@r-project.org > Subject: [R] R studio i

Re: [R] colour input in ribbon plots (geom ribbon)

2015-12-22 Thread John Kane
It is not clear what you are doing. Please provide some code and data if possible. Otherwise adding something like colour = "red" in the aes() should do something. John Kane Kingston ON Canada > -Original Message- > From: pushan.zool...@gmail.com > Sent: Tue, 2

Re: [R] how to plot two variables in a figure using ggplot2

2015-12-16 Thread John Kane
. ggplot(mydata, aes( XX, value, colour = variable)) + some.plot.option. John Kane Kingston ON Canada > -Original Message- > From: jimmygao0...@163.com > Sent: Tue, 15 Dec 2015 21:41:25 +0800 (CST) > To: r-help@r-project.org > Subject: [R] how to plot two variables in a figur

Re: [R] Make a box-whiskers plot in R with 5 variables, color coded.

2015-12-16 Thread John Kane
John Kane Kingston ON Canada > -Original Message- > From: s.elli...@lgcgroup.com > Sent: Tue, 15 Dec 2015 19:17:59 + > To: r-help@r-project.org > Subject: Re: [R] Make a box-whiskers plot in R with 5 variables, color > coded. > >> It is clear that a ) al

Re: [R] Help quadratic plateau

2015-12-12 Thread John Kane
Please 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 It appears that you posted in HTML and the results are very close to unreadable. Please resend in plain text. John Kane Kingston ON

Re: [R] Simple DLNM in R

2015-12-07 Thread John Kane
a bit too big to keep sending back and forth. John Kane Kingston ON FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! __ R-help@r-project.org mailing list -- To UNSUBSCRIBE

Re: [R] Simple DLNM in R

2015-12-07 Thread John Kane
-example and/or http://adv-r.had.co.nz/Reproducibility.html Someone may easily find the problem without sample data but it usually is best to troubleshoot with the "real" data. John Kane Kingston ON Canada > -Original Message- > From: djv5...@gmail.com > Sent: Sun, 6 Dec

Re: [R] Dense time series

2015-12-07 Thread John Kane
or have a look at ?dput. Using dput ensures that the R-help reader is seeing the data as you see it. BTW should not "Looks fine in excel" actually read, " Looks vaguely acceptable in Excel, given the limitations of a spreadsheet graphs"? :) John Kane Kingston ON Cana

Re: [R] Memory problem when changing a function

2015-11-26 Thread John Kane
ask a question here. Note that sample data, preferably in dput() format as described in the links above, is likely to be very important. John Kane Kingston ON Canada > -Original Message- > From: marwa.s...@feps.edu.eg > Sent: Thu, 26 Nov 2015 21:57:12 +0200 > To: r-help@r

Re: [R] Change breaks x axis in plot

2015-11-19 Thread John Kane
xx <- seq(1, 2, by = 0.1) yy <- sample(1:20, 11) plot(xx, yy, xaxt="n") axis(1, at=1: 2, labels=letters[1:2]) may be what you want. John Kane Kingston ON Canada > -Original Message- > From: luysgar...@gmail.com > Sent: Thu, 19 Nov 2015 16:18:16 -0300 &

Re: [R] SWEAVE - a gentle introduction

2015-11-17 Thread John Kane
I've been very pleased using knitr in combination with LyX for pdf production. John Kane Kingston ON Canada > -Original Message- > From: jsor...@grecc.umaryland.edu > Sent: Tue, 17 Nov 2015 10:21:15 -0500 > To: r-help@r-project.org > Subject: [R] SWEAVE - a gentle

Re: [R] Error in mkRespMod(fr, family = family) : response must be numeric

2015-11-16 Thread John Kane
Welcome to R-help. We probably need some more code and sample data. Please 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 for some suggestions. John Kane Kingston ON Canada

Re: [R] Help scatterplot3d

2015-11-06 Thread John Kane
Please do not post in HTML. Your post is gibberish. Also please 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 for some suggestions on asking questions in R-help. John Kane Kingston ON

[R] What happened to Canada?

2015-11-02 Thread John Kane
A rather silly question but I went to install a new package this morning and as usual a list of CRAN mirrors appeared but the Canadian ones had disappeared. Is this some peculiarity of my system (Ubuntu 14.10 with R version 3.2.2) or a new policy for R? John Kane Kingston ON Canada

Re: [R] Fixed effects estimators doesn't drop or omit

2015-11-02 Thread John Kane
do on your computer. John Kane Kingston ON Canada > -Original Message- > From: alexier...@hotmail.com > Sent: Sun, 1 Nov 2015 18:40:36 + > To: r-help@r-project.org > Subject: [R] Fixed effects estimators doesn't drop or omit > > The title says it all, really. Fi

Re: [R] If else

2015-10-31 Thread John Kane
In line. John Kane Kingston ON Canada > -Original Message- > From: valkr...@gmail.com > Sent: Fri, 30 Oct 2015 20:40:03 -0500 > To: istaz...@gmail.com > Subject: Re: [R] If else > > I am trying to change the mydata$sex from character to numeric W

Re: [R] Neuralnet package in R gives wrong output

2015-10-28 Thread John Kane
No attachements. R-help is very picky about attachements. I'd suggest supplying the data using dput() . See ?dput for more information It is probably best to just copy and paste the code into your email. If this is no practical try sending a plain text file with a .txt extension John

Re: [R] How to plott bar graphics

2015-10-26 Thread John Kane
Hhi Ujjwal As Jim says a lot of people don't like the barplot with error bars approach see http://biostat.mc.vanderbilt.edu/wiki/Main/DynamitePlots and links for some of the reasons why. Besides, in Tufte's terms most of a barplot is 'chart junk'. John Kan

Re: [R] Error in Opening Project on R Studio

2015-10-23 Thread John Kane
and paste any error messages into the main text of the e-mail. If that does not seem appropriate you might try a pdf, png or plain text (.txt) attacment. John Kane Kingston ON Canada > -Original Message- > From: sdee...@iitk.ac.in > Sent: Thu, 22 Oct 2015 19:48:57 +0530 >

Re: [R] r-markdown - keeping figures

2015-10-21 Thread John Kane
It may not be elegant but you can just embed a png() command in the knitr code. Code from RStudio example with png() command added. ```{r, echo=FALSE} plot(cars) png("~/Rjunk/pnd.png") plot(cars) dev.off() ``` John Kane Kingston ON Canada > -Original Message-

Re: [R] There is an error when I performed chisquare and postanova test...:(

2015-09-25 Thread John Kane
rly I think everyone would be grateful if you post directly to R-help from a mail program. Very few people here use nabble and it is generally considered something of a curse. Good luck on the quizz John Kane Kingston ON Canada > -Original Message- > From: 2hanl...@naver.com >

Re: [R] Welcome to the "R-help" mailing list (Digest mode)

2015-09-24 Thread John Kane
-r.had.co.nz/Reproducibility.html with particular attention to the use of dput() for supplying sample data. Welcome to the list. John Kane Kingston ON Canada > -Original Message- > From: r-help@r-project.org > Sent: Thu, 24 Sep 2015 17:34:21 + (UTC) > To: r-help@r-project.o

Re: [R] 'R' Software Output Plagiarism

2015-09-24 Thread John Kane
> -Original Message- > From: pda...@gmail.com > Sent: Thu, 24 Sep 2015 11:41:19 +0200 > To: murdoch.dun...@gmail.com > Subject: Re: [R] 'R' Software Output Plagiarism > > > On 23 Sep 2015, at 02:33 , Duncan Murdoch > wrote: > >> I don't see why this puzzles you. A simple explanation i

Re: [R] retaining characters in a csv file

2015-09-23 Thread John Kane
> -Original Message- > From: r.tur...@auckland.ac.nz > Sent: Wed, 23 Sep 2015 13:26:58 +1200 > To: pda...@gmail.com .. > I would say that this phenomenon ("Excel does it") is *overwhelming* > evidence that it is bad practice!!! :-) Fortune? _

Re: [R] 'R' Software Output Plagiarism

2015-09-22 Thread John Kane
me site at pp -23-24. There it is again. I think you probably should do a bit of on-line searching and a sweep of some of the Manuals and Contributed materials on the R site and point out to the powers that be that it is not plagiarism, it's just standard R reporting.of regression results

Re: [R] 'R' Software Output Plagiarism

2015-09-22 Thread John Kane
Very good point about the referencing. I wonder if this is happening to users of Stata or SAS as well? John Kane Kingston ON Canada > -Original Message- > From: marc_schwa...@me.com > Sent: Tue, 22 Sep 2015 11:24:13 -0500 > To: bgunter.4...@gmail.com > Subject: Re: [

Re: [R] (no subject)

2015-09-22 Thread John Kane
You seem to have sent a blank message. John Kane Kingston ON Canada > -Original Message- > From: fathi.s...@gmail.com > Sent: Tue, 22 Sep 2015 16:29:07 +0330 > To: r-help@r-project.org > Subject: [R] (no subject) > > > > [[alter

Re: [R] Running GCV Optimization under Ridge Regression

2015-09-21 Thread John Kane
No data. Please have a look at 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: lordpree...@gmail.com > Sent: Tue, 22 Sep 2015

Re: [R] extract from data.frame (indexing)

2015-09-21 Thread John Kane
And the action is? John Kane Kingston ON Canada > -Original Message- > From: nico.gutierr...@gmail.com > Sent: Mon, 21 Sep 2015 16:48:45 +0200 > To: r-help@r-project.org > Subject: [R] extract from data.frame (indexing) > > Hi All, > > I need to

Re: [R] R-help, please

2015-09-21 Thread John Kane
It looks like you sent the e-mail in HTML. It is unreadable. You must sent e-mail to R-help in plain text not HTML John Kane Kingston ON Canada > -Original Message- > From: le4...@mweb.co.za > Sent: Mon, 21 Sep 2015 16:14:41 +0200 > To: r-help@r-project.org > Subject:

Re: [R] To plot and to extract info from a plot

2015-09-19 Thread John Kane
I don't think we can do a lot with Q1 without some data. Data would probably help with Q2 as well. Have a look at the following links especially on how to use dput() to supply sample data. John Kane Kingston ON Canada > -Original Message- > From: jacksonmrodrig...@gmail

Re: [R] Spreadsheet math problem (exponentiation)

2015-09-18 Thread John Kane
I have no problem with -2^2 = 4 if we have consistency. R -2^2 = -4 Spreadsheets -2^2 = 4 Which is "TRUE"? (For some nebulous value of "TRUE") For a relatively unsophisticated user this does not bode well if he or see is transferring work from one application to another.

[R] Spreadsheet math problem (exponentiation)

2015-09-18 Thread John Kane
would appear to be one more serious problem with spreadsheets. It might be useful in warning people away from using a spreadsheet for serious analysis. Excel -2^2 = 4 2^2^3 = 64 Apache OpenOffice -2^2 = 4 2^2^3 = 64 gnumeric # note one correct, one error! -2^2 = 4 2^2^3 = 256 John Kane

Re: [R] best data storage format?

2015-09-18 Thread John Kane
Thanks Michael, I stupidly assumed that the data was in R and just being sent in .csv form John Kane Kingston ON Canada > -Original Message- > From: li...@dewey.myzen.co.uk > Sent: Fri, 18 Sep 2015 09:05:55 +0100 > To: jrkrid...@inbox.com, alfadia...@mac.com, r-help@r

Re: [R] best data storage format?

2015-09-17 Thread John Kane
No data. See dput() (?dput) as the preferred way to send data John Kane Kingston ON Canada > -Original Message- > From: alfadia...@mac.com > Sent: Thu, 17 Sep 2015 16:41:46 -0400 > To: r-help@r-project.org > Subject: [R] best data storage format? > > Hello - >

Re: [R] a question about data manipulation in R

2015-09-15 Thread John Kane
Refugees are welcome. Just register at the desk over there. :) Thanks, I have been drawing a complete blank without attacking it by brute force and advanced stupidity. John Kane Kingston ON Canada > -Original Message- > From: john.pos...@mjbiostat.com > Sent: Tue, 15 Sep 2015

Re: [R] R lines type in a glm/predict model

2015-09-15 Thread John Kane
I thought that was was what you wanted. Congratulations. John Kane Kingston ON Canada > -Original Message- > From: laura.fernand...@edu.uah.es > Sent: Tue, 15 Sep 2015 13:40:21 -0700 (PDT) > To: r-help@r-project.org > Subject: Re: [R] R lines type in a glm/predict mo

Re: [R] R lines type in a glm/predict model

2015-09-15 Thread John Kane
Hi Rolf, I think Laura wants something like this for one of the curves, although I'm guessing. aa <- 1:100 plot(aa, pch = 22) John Kane Kingston ON Canada > -Original Message- > From: r.tur...@auckland.ac.nz > Sent: Tue, 15 Sep 2015 22:45:21 +1200 > To: laura.f

Re: [R] a question about data manipulation in R

2015-09-14 Thread John Kane
= c(44412L, 5L, 26L, NA, NA), V4 = c(2236L, 3L, 12343L, 12334L, 94845L)), .Names =c("V1", "V2", "V3", "V4"), class ="data.frame", row.names = c(NA, -5L)) John Kane Kingston ON Canada John Kane Kingston ON Canada -Original Mess

Re: [R] I have trouble loading histogram :(

2015-09-14 Thread John Kane
This looks a lot like homework and we have a no homework policy. However hist(south) is definitely not correct. Hint south is a data,frame not the variable. John Kane Kingston ON Canada > -Original Message- > From: 2hanl...@naver.com > Sent: Mon, 14 Sep 2015 07:45:18 -0700 (

Re: [R] Please read **Urgent** Need help with R

2015-09-13 Thread John Kane
looks like homework and we have a no-homework policy but get things cleaned up and we may be able to make some suggestions. John Kane Kingston ON Canada > -Original Message- > From: mehmetdogan...@windowslive.com > Sent: Sun, 13 Sep 2015 15:31:15 +0300 > To: r-help@r-project.org >

Re: [R] a question about data manipulation in R

2015-09-13 Thread John Kane
-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html Did you intend that the last item in the data set be 432I where that last character is an I (𝐈 not a one 1? John Kane Kingston ON Canada > -Original Message- > From: r-help@r-project.org

Re: [R] [FORGED] Re: Help with Binning Data

2015-09-11 Thread John Kane
"that rely on profusion of dummies" :) +1 John Kane Kingston ON Canada > -Original Message- > From: r.tur...@auckland.ac.nz > Sent: Fri, 11 Sep 2015 12:22:38 +1200 > To: dwinsem...@comcast.net > Subject: Re: [R] [FORGED] Re: Help with Binning Data >

Re: [R] Counting number of rain

2015-09-08 Thread John Kane
Assuming your data is already in R format please sent it dput() format. See ?dput or http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html for more details. John Kane Kingston ON Canada > -Original Mess

Re: [R] Maxent package - Restriction on number of unique class labels

2015-09-07 Thread John Kane
I have never even heard of the package but it might be just that that is the default maximum number of labels programmed in. Have a look at the manual and/or the actual function. If you don't get an answer in a day or so, email the author or maintainer. John Kane Kingston ON C

Re: [R] Reformatting text inside a data frame

2015-09-07 Thread John Kane
ing sample data have a look at ?dput . Using dput() means that we see exactly the same data as you do. Sorry not to be of more help John Kane Kingston ON Canada > -Original Message- > From: jonsle...@gmail.com > Sent: Mon, 7 Sep 2015 15:27:05 -0400 > To: r-help@r-project.org

Re: [R] please help me for my project

2015-09-07 Thread John Kane
Some suggestions on how to ask a question on the R-help list John Kane Kingston ON Canada > -Original Message- > From: ghada.f...@gmail.com > Sent: Mon, 7 Sep 2015 16:57:19 +0300 > To: r-help@r-project.org > Subject: [R] please help me for my project > > Hello

Re: [R] Understand Rcode- subset

2015-08-24 Thread John Kane
Just to second Thierry's point, your HTML post is basically unreadable. Please repost as plain text. John Kane Kingston ON Canada > -Original Message- > From: butt_its...@hotmail.com > Sent: Mon, 24 Aug 2015 16:30:31 +0530 > To: r-help@r-project.org > Subject:

Re: [R] Output In R

2015-08-22 Thread John Kane
e Preamble. #==Revised code for knitr/R <>= library(xtable) dat1 <- data.frame(matrix( rnorm(2000), ncol = 5)) dat1.table <- xtable(dat1) print(dat1.table,tabular.environment='longtable', floating = FALSE, include.rownames=FALSE, booktabs = TRUE) @ #======e

Re: [R] Date as Integer

2015-08-22 Thread John Kane
you have on your machine. If the data set is large a small, representative sample is find. Something like dput(head(dat1, 100)) is probably fine. Fake data is okay if it is in the same format as the real. Check with str() before sending. John Kane Kingston ON Canada > -Original Mess

Re: [R] Output In R

2015-08-22 Thread John Kane
clude.rownames=FALSE, booktabs = TRUE) @ \end{document} End Latex file John Kane Kingston ON Canada > -Original Message- > From: shivibha...@ymail.com > Sent: Fri, 21 Aug 2015 12:26:50 -0700 (PDT) > To: r-help@r-project.org > Subject: Re: [R

Re: [R] fill color in boxplot and change number in scale

2015-08-22 Thread John Kane
Data? Please use dput() John Kane Kingston ON Canada > -Original Message- > From: eladlaza...@gmail.com > Sent: Fri, 21 Aug 2015 11:52:52 -0700 (PDT) > To: r-help@r-project.org > Subject: Re: [R] fill color in boxplot and change number in scale > > I want to

Re: [R] fill color in boxplot and change number in scale

2015-08-21 Thread John Kane
e the question and supply data. John Kane Kingston ON Canada > -Original Message- > From: eladlaza...@gmail.com > Sent: Fri, 21 Aug 2015 14:10:23 +0300 > To: r-help@r-project.org > Subject: [R] fill color in boxplot and change number in scale > > hello, > I want to

Re: [R] How are packages installed with install_github() updated in RStudio?

2015-08-18 Thread John Kane
Thanks Hadley I had some vague impression that RStudio was maintaining a slightly diffferent repository thought I am not sure why I thought that. John Kane Kingston ON Canada > -Original Message- > From: h.wick...@gmail.com > Sent: Tue, 18 Aug 2015 09:01:09 -0500 >

Re: [R] How are packages installed with install_github() updated in RStudio?

2015-08-18 Thread John Kane
Hi Michal, Because RStudio seems to use its own method of updating you might be better off asking in their forum. John Kane Kingston ON Canada > -Original Message- > From: prgo...@gmail.com > Sent: Tue, 18 Aug 2015 10:43:20 +0200 > To: r-help@r-project.org > Subje

Re: [R] date format in xyplot

2015-08-18 Thread John Kane
Sorry, quick follow-up: is there any chance you used Date rather than Date1 in the original plot? John Kane Kingston ON Canada > -Original Message- > From: r-help@r-project.org > Sent: Mon, 17 Aug 2015 21:15:39 -0700 > To: r-help@r-project.org > Subject: [R] date f

Re: [R] date format in xyplot

2015-08-18 Thread John Kane
ho knows with R :) John Kane Kingston ON Canada > -Original Message- > From: r-help@r-project.org > Sent: Mon, 17 Aug 2015 21:15:39 -0700 > To: r-help@r-project.org > Subject: [R] date format in xyplot > > To whom it may concern, > > I have tried to plot some num

Re: [R] All results not showing in console (very large dataset)

2015-08-16 Thread John Kane
Write the results into an object and use head()? Quick example dat1 <- data.frame(aa = sample(x, 500, replace = TRUE), bb = sample(x, 500, replace = TRUE), cc = sample(x, 500, replace = TRUE), dd =sample(x, 500, replace = TRUE) ) head(dat1) see ?head for more details John Kane Kingston

Re: [R] Help

2015-08-15 Thread John Kane
Hi André, You have not told us how you are creating the boxplots. See http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html for some suggestions on how to ask a question for the R-help list. John Kane Kingston

Re: [R] How to obtain the unique communities when plotting VENNs?

2015-08-13 Thread John Kane
some sample data. Use dput() see ?dput or read about it in the above links. John Kane Kingston ON Canada > -Original Message- > From: kristin.kai...@web.de > Sent: Thu, 13 Aug 2015 00:57:57 -0700 (PDT) > To: r-help@r-project.org > Subject: [R] How to obtain the uni

Re: [R] Finding top 25% observations in Dplyr

2015-08-13 Thread John Kane
I don't know how to do it in plyr but xx <- seq(1:300) nn <- trunc( length(xx)/4) yy <- xx[nn, ] should come close. Have a look at ?ceiling or ?floor as an alternative to trunc() John Kane Kingston ON Canada > -Original Message- > From: shivibha...@ymail.com

Re: [R] Plotting wind direction as arrows with precipitation

2015-08-11 Thread John Kane
Thanks Bert, I think that arrow() would do what the OP needs. The main problem would be calculating the angles properly if I understand the issue. Still there cannot be "that" many points on a compass, can there? John Kane Kingston ON Canada > -Original Message- >

Re: [R] Plotting wind direction as arrows with precipitation

2015-08-11 Thread John Kane
Thanks Bert, I think that arrow() would do what the OP needs. The main problem would be calculating the angles properly if I understand the issue. Still there cannot be "that" many points on a compass, can there? John Kane Kingston ON Canada > -Original Message- >

Re: [R] Plotting wind direction as arrows with precipitation

2015-08-11 Thread John Kane
t I am not sure if the required symbols are available. You may have to manually draw them. See http://stackoverflow.com/questions/3421331/example-needed-using-arrow-with-ggplot2 for how to draw an arrow. John Kane Kingston ON Canada ##Start code== library(ggplot2) librar

Re: [R] creating a funct

2015-08-08 Thread John Kane
You sent the data but forgot the code :) It is better to use dput() to send data. Have a look at 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 Mess

Re: [R] write.csv file= question

2015-08-04 Thread John Kane
You probably need to ask this on a RStudio forum but my guess is it is just a little 'refinement' that the RStudio people added. Similar in concept o the the matching "". John Kane Kingston ON Canada > -Original Message- > From: demmi...@gmail.com > S

[R] ggplot2 - geom_text() with date as x-axis

2015-07-30 Thread John Kane
I am trying to annotate a graph using geom_text() and I seem to be misunderstanding how to use a date in the co-ordinates---or, at least, I think that is the problem. Code is below. Can anyone give me a suggestion of where I am going wrong? Thanks, John John Kane Kingston ON Canada

Re: [R] Mixed Date Formats

2015-07-30 Thread John Kane
biguously dated. John Kane Kingston ON Canada > -Original Message- > From: sarah.gos...@gmail.com > Sent: Thu, 30 Jul 2015 09:19:55 -0400 > To: jrkrid...@inbox.com > Subject: Re: [R] Mixed Date Formats > > On Thu, Jul 30, 2015 at 9:14 AM, John Kane wrote: >> This

Re: [R] Daily Category Revenue-Stacked Bar Chart in ggplot2

2015-07-30 Thread John Kane
e to think about your use of a barchart. I think you are the first person who has ever come up with an explanation of why one would use a barchart that may make sense. Can you give me an example? Well come to the R-help list (down with nabble) John Kane Kingston ON Canada > -Orig

Re: [R] Mixed Date Formats

2015-07-30 Thread John Kane
4049 06/05/11 4 5877 05/12/11 5 1375 31/12/2011 6 2223 10/19/2011 7 3423 01/22/2011 John Kane Kingston ON Canada > -Original Message- > From: r-help@r-project.org > Sent: Wed, 29 Jul 2015 21:15:45 + (UTC) > To: sarah.gos...@gmail.com > Subject: Re: [R] Mi

Re: [R] Removing display of R row names from list.

2015-07-29 Thread John Kane
Beats me. You can print a single data frame with print(dat1, rownames = FALSE) but it is not clear to me how to do it within a function. I am sure someone who actually know what they are doing will be along in a moment. Sorry not to have been of more help. John Kane Kingston ON Canada

Re: [R] Daily Category Revenue-Stacked Bar Chart in ggplot2

2015-07-29 Thread John Kane
p)) + geom_bar(stat = "identity") #Grouped or dodged barchart (I don't think these are the real names) ggplot(dat1, aes(dates, revs, fill = typ)) + geom_bar(stat = "identity", position="dodge") John Kane Kingston ON Canada > -Original Message- &g

Re: [R] Removing display of R row names from list.

2015-07-29 Thread John Kane
HI Frederic, Can you supply a small example of the problem? John Kane Kingston ON Canada > -Original Message- > From: ntfr...@gmail.com > Sent: Wed, 29 Jul 2015 14:15:58 +0300 > To: r-help@r-project.org > Subject: [R] Removing display of R row names from list. > &g

Re: [R] R load error

2015-07-29 Thread John Kane
Try restarting R-Studio. I have found that every once in a while it seems to do something squirrelly but I have never isolated the problem enough to do a report. Otherwise,perhaps run R in a terminal and see if it will load the data from there to check if the file is actually okay. John Kane

Re: [R] VIF threshold implying multicollinearity

2015-07-29 Thread John Kane
Quite, but apparently not a boisterous one? John Kane Kingston ON Canada -Original Message- From: cfly...@ncsu.edu Sent: Mon, 27 Jul 2015 14:35:06 -0400 To: jrkrid...@inbox.com Subject: Re: [R] VIF threshold implying multicollinearity No actually it is a quiet good paper! :) On Mon

Re: [R] Type of variable

2015-07-27 Thread John Kane
?str perhaps. John Kane Kingston ON Canada > -Original Message- > From: j.para.fernan...@hotmail.com > Sent: Mon, 27 Jul 2015 06:52:25 -0700 (PDT) > To: r-help@r-project.org > Subject: [R] Type of variable > > I have a dataframe like this one: > > one

Re: [R] VIF threshold implying multicollinearity

2015-07-27 Thread John Kane
+1 I, originally, read it as a stringent criticism of the first paper. John Kane Kingston ON Canada > -Original Message- > From: r.tur...@auckland.ac.nz > Sent: Mon, 27 Jul 2015 15:12:43 +1200 > To: cfly...@ncsu.edu > Subject: Re: [R] VIF threshold implying multicollinea

Re: [R] ggplot percent format for interest rates

2015-07-26 Thread John Kane
element_text(size = 15)) + theme(axis.title = element_text(size = 20)) + theme(legend.text=element_text(size= 15)) John Kane Kingston ON Canada > -Original Message- > From: glennmschu...@me.com > Sent: Sat, 25 Jul 2015 22:52:07 + (GMT) > To: r-help@r-project.org > Subject:

Re: [R] Writing output of a looped process with pdfs

2015-07-25 Thread John Kane
0, a_73, a_79, a_8, a_80, a_81, a_82, a_83, a_84, a_85, a_86, a_87, a_88, a_89, a_9, a_90, a_91, a_94, a_95, a_96, a_98, a_99) John Kane Kingston ON Canada > -Original Message- > From: cecilia.larros...@imperial.ac.uk > Sent: Sat, 25 Jul 2015 09:54:00 + > To: r-help@

Re: [R] apply kendall tau to a split data set

2015-07-25 Thread John Kane
It helps to have a bit more detail and some sample data. Have a look at Reproducibility http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html for some ideas of how to pose a question on the list. John Kane Kingston

Re: [R] Table Looks Funny

2015-07-24 Thread John Kane
Hi Marrisa, As a follow-up to Jim's point, it might be a good idea to supply the data. Since you don't trust the imported data our preferred method of using dput() won't work but if you rename the csv file to whatever.txt and attached it should make it through. John Kane Kin

Re: [R] Differences in output of lme() when introducing interactions

2015-07-24 Thread John Kane
I clearly am going to have to improve my stats knowledge by reading McPhearson. To heck with Senn- too complicated. :) Thanks Terry. John Kane Kingston ON Canada > -Original Message- > From: thern...@mayo.edu > Sent: Thu, 23 Jul 2015 14:07:00 -0500 > To: r.tur...@auckland.

Re: [R] How to make a persistence landscape in R?

2015-07-22 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: l.shul...@hotmail.com > Sent: Tue, 21 Jul 2015 10:39:45 -0700 (PDT) >

Re: [R] Knitr: setting echo = FALSE globally [RESOLVED]

2015-07-21 Thread John Kane
ot of time once you get it working. John Kane Kingston ON Canada > -Original Message- > From: rshep...@appl-ecosys.com > Sent: Tue, 21 Jul 2015 08:30:09 -0700 (PDT) > To: r-help@r-project.org > Subject: Re: [R] Knitr: setting echo = FALSE globally [RESOLVED] > >

Re: [R] R: Re: R: Re: R: Re: Differences in output of lme() when introducing interactions

2015-07-21 Thread John Kane
work. John Kane Kingston ON Canada > -Original Message- > From: angelo.arc...@virgilio.it > Sent: Tue, 21 Jul 2015 12:12:58 +0200 (CEST) > To: li...@dewey.myzen.co.uk, bgunter.4...@gmail.com > Subject: [R] R: Re: R: Re: R: Re: Differences in output of lme() when > introd

<    1   2   3   4   5   6   7   8   9   10   >