Re: [R] Problems install R package "Caret" in Rstudio version 3.3.3

2019-04-01 Thread John Kane
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained,

Re: [R] Color-coding data points in complex dotplot (ggplot2)

2019-04-06 Thread John Kane
.88028, 5.50403, 9.73558, 8.56419, > > 11.84524, 16.34892, 18.15789, 10.58036, 14.80932, 12.06081, > > 12.96992, 9.86014, 12.45652, 6.625, 6.93396, 9.10714, 3.66142, > > 9.19811, 10.88346, 2.88851, 6.85096, 10.27778, 8.29787, 13.0088

Re: [R] Need(?) way to create a "picture" (or "plot") of a data.frame

2014-07-31 Thread John Kane
Have a look at http://www.r-bloggers.com/getting-tables-from-r-output/ for a suggestion. using raw xtable output You end up having to format the table in a word processor or spreadsheet, but it seems to work. I keep forgetting just how ugly html tables can be. John Kane Kingston ON Canada

Re: [R] Eager To Learn And Contribute!

2014-07-31 Thread John Kane
If you are new, one of the best ways to learn and then start contributing is to just read the R-help list a lot. Even if you don't think that you can answer a specific question you see a lot and you can try to anwser questions even if you don't post a solution. Welcome to R.

Re: [R] Negative values on output

2014-08-20 Thread John Kane
-a-great-r-reproducible-example for some helpful hints on how to post to the R-Help list/ John Kane Kingston ON Canada > -Original Message- > From: sam_l_cruicksh...@hotmail.com > Sent: Tue, 19 Aug 2014 19:09:13 +0100 > To: r-help@r-project.org > Subject: [R] Negative v

Re: [R] Efficient frontier

2014-09-17 Thread John Kane
https://github.com/hadley/devtools/wiki/Reproducibility http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example John Kane Kingston ON Canada > -Original Message- > From: aparna.ec...@gmail.com > Sent: Mon, 15 Sep 2014 14:40:37 -0500 >

Re: [R] ggplot question error: Error in s(x, bs = "cs") : object 'x' not found

2014-11-21 Thread John Kane
<- p + geom_smooth(se = FALSE) p John Kane Kingston ON Canada > -Original Message- > From: dimitri.liakhovit...@gmail.com > Sent: Thu, 20 Nov 2014 17:14:27 -0500 > To: r-help@r-project.org > Subject: [R] ggplot question error: Error in s(x, bs = "cs") : obje

Re: [R] dplyr/summarize does not create a true data frame

2014-11-21 Thread John Kane
-make-a-great-r-reproducible-example That said, I don't see why 'my.output[4]' is not working. Try something like str(frm) to see what you have there and/or resubmit the data in dput format See simple example below: dat1 <- data.frame(aa = sample(1:20, 100, replace = TRUE), bb = 1:

Re: [R] ggplot facet and subsetting

2014-11-26 Thread John Kane
Below John Kane Kingston ON Canada > This is OK but only in BW > p<-ggplot(vec.c, aes(x=fi, y=nad1mi)) > p+geom_point(size=5)+geom_line()+facet_grid(.~stroj) Perhaps: p <- ggplot(vec.c, aes(x=fi, y=nad1mi, colour = stroj)) p+geom_point(size=5)+geom_line()+facet_grid(.~stroj)

Re: [R] How to use ggplot2

2014-11-26 Thread John Kane
row.names = c(NA, -6L)) p1 <- ggplot(dat1, aes( as.factor(aa), y = bb, fill = as.factor(aa))) p1 <- p1 + geom_bar(stat = "identity") p1 John Kane Kingston ON Canada > -Original Message- > From: jarod...@libero.it > Sent: Wed, 26 Nov 2014 18:04:21 +0100 (CET)

Re: [R] How to print labels and how to add missing label values?

2014-11-28 Thread John Kane
Reproducibility https://github.com/hadley/devtools/wiki/Reproducibility http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example John Kane Kingston ON Canada > -Original Message- > From: edoardo.prestia...@gmail.com > Sent: Mon, 24 Nov 2014 19:32

Re: [R] DOT PLOT help!!

2014-11-28 Thread John Kane
great-r-reproducible-example for some good suggestions on how to frame questions to the list. BTW, did Don McQueen's response help? Welcome to R . John Kane Kingston ON Canada > -Original Message- > From: jsch...@zoology.up.ac.za > Sent: Mon, 24 Nov 2014 11:08:39 +020

Re: [R] please please unsubscribe!!!!!!!!!!!!!!!!

2014-11-30 Thread John Kane
without much "computer" experience vs user of MS Office and E-mail even being aware such a thing exists is slig\t (snowballl in ... ?) A slight change to the footer seems like a good idea. John Kane Kingston ON Canada > -Original Message- > From: i...@aghmed.fsnet.co.uk

Re: [R] Remove the border/frame in a dotplot()

2014-11-30 Thread John Kane
963269/how-to-make-a-great-r-reproducible-example useful John Kane Kingston ON Canada > -Original Message- > From: r-help@r-project.org > Sent: Sat, 29 Nov 2014 21:59:14 + (UTC) > To: r-help@r-project.org > Subject: [R] Remove the border/frame in a dotplot() > >

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] 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] 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] 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] 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] 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] 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] 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
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] 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] 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] 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] 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] 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] [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] 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] 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] 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] 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] 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] 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] 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] 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] 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

[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] 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.

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] 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] 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] 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] (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] '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] '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] 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-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] 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] 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] 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] 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] 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] 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] 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] 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

[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] 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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] Manually inserting an extra tick on the y axis in ggplot2

2016-03-26 Thread John Kane
 Oh yes, looks good. I misread your request and thought that you wanted it integrated with the labels on the y-axis. John Kane Kingston ON Canada -Original Message- From: kmna...@gmail.com Sent: Fri, 25 Mar 2016 18:16:21 -0400 To: jrkrid...@inbox.com Subject: Re: [R] Manually

Re: [R] fftImg() error: fftw_access_func

2016-03-26 Thread John Kane
u are reporting a general R problem or a specific package with the ripa package. If it looks like it is the latter you probably bring it to the attention of the package maintainer who may or may not monitor this mailing group. John Kane Kingston ON Canada > -Original Message- >

Re: [R] dynamic reports with sweave: error when compiling the tex-file

2016-04-07 Thread John Kane
Definitely yes I just tried a one line latex document and it bombed with \begin{ document } but is fine with \begin{document} . I think the spaces within the {} must all be removed. Latex does not like spaces John Kane Kingston ON Canada > -Original Message- > From:

Re: [R] How to print the graphs in landscape/portrait orientation

2016-04-10 Thread John Kane
There really is nothing there to work with. 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: miao...@gma

Re: [R] unbalanced number of rows

2016-04-10 Thread John Kane
() form. Do ?dput() for more information. John Kane Kingston ON Canada > -Original Message- > From: r-help@r-project.org > Sent: Sun, 10 Apr 2016 10:57:13 + (UTC) > To: r-help@r-project.org > Subject: [R] unbalanced number of rows > > HiI have a data frame with rows

Re: [R] [FORGED] Re: identical() versus sapply()

2016-04-12 Thread John Kane
> -Original Message- > From: bgunter.4...@gmail.com > Sent: Mon, 11 Apr 2016 19:18:39 -0700 > To: murdoch.dun...@gmail.com > Subject: Re: [R] [FORGED] Re: identical() versus sapply() > > "The documentation aims to be accurate, not necessarily clear." > > !!! > > I hope that is not the

Re: [R] [FORGED] Re: [FORGED] Re: identical() versus sapply()

2016-04-12 Thread John Kane
opaque the explanation is. John Kane Kingston ON Canada > -Original Message- > From: r.tur...@auckland.ac.nz > Sent: Tue, 12 Apr 2016 15:34:54 +1200 > To: murdoch.dun...@gmail.com > Subject: Re: [R] [FORGED] Re: [FORGED] Re: identical() versus sapply() > > On 12/04

Re: [R] error: contextstack overflow

2016-04-12 Thread John Kane
963269/how-to-make-a-great-r-reproducible-example and/or http://adv-r.had.co.nz/Reproducibility.html for some suggestions on what to include in a question. John Kane Kingston ON Canada > -Original Message- > From: r-help@r-project.org > Sent: Tue, 12 Apr 2016 23:42:56 + (

Re: [R] reduced set of alternatives in package mlogit

2016-04-13 Thread John Kane
To back up Ber's 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: jose.ferr...@logiteng.com > Sent: We

Re: [R] New member

2016-04-15 Thread John Kane
There are a number of articles and even books at the R site that are worth looking at. Look Dnder documentation on the main page of the site. This link may also help http://www.burns-stat.com/documents/tutorials/ John Kane Kingston ON Canada > -Original Message- >

Re: [R] Odds Ratio and OR CI

2016-04-15 Thread John Kane
stion. Welcome to R. John Kane Kingston ON Canada > -Original Message- > From: rosit...@gmail.com > Sent: Thu, 14 Apr 2016 19:07:04 +0100 > To: pd@cbs.dk, r-help@r-project.org > Subject: [R] Odds Ratio and OR CI > > Howdy everyone > > > > I’m tryi

Re: [R] Unequal column lengths

2016-04-15 Thread John Kane
an :5.75 3rd Qu.:7.0 3rd Qu.:6 3rd Qu.:6.00 Max. :9.0 Max. :7 Max. :9.00 NA's :2 NA's :1 John Kane Kingston ON Canada > -Original Message- > From: t...@vims.edu > Sent: Thu, 14 Apr 2016 21:33:31 + > To: r-help@r-pr

Re: [R] Problem: No p-value for a point-baserial correlation with R

2016-04-16 Thread John Kane
have the biseral.cor() & cor.biseral() functions and some sample data. Read the part about dput() carefully. This is the best way to provide sample data to R-help. BTW try a str(mydata) and check to see that you have the factor levels you think you do. John Kane Kingston ON Ca

Re: [R] Indicator Species analysis; trouble with multipatt

2016-04-19 Thread John Kane
/Reproducibility.html for some general suggestions on asking questions here---including discussions of using dput() John Kane Kingston ON Canada > -Original Message- > From: daily.p...@gmail.com > Sent: Mon, 18 Apr 2016 16:33:54 -0400 > To: r-help@r-project.org > Subject: [R] In

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