Re: [R] Boxplot function error-help required

2015-06-11 Thread John Kane
"gamma", "delta")) 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 for some suggestions on how to ask questions here. Good luck John Kane Kingston ON

Re: [R] Boxplot function error-help required

2015-06-11 Thread John Kane
Thanks Don, I suspected there was a Boxplot() out there by was too lazy to look. I still don't see how the original code would work if label only had onevalue but I must admit what Boxplot() is actually doing is still confusing me. John Kane Kingston ON Canada > -Original

Re: [R] for loop incorrect row count

2015-06-11 Thread John Kane
roubleshooting just a bit difficult. And which method I use can be a crap shoot. John Kane Kingston ON Canada > -Original Message- > From: dwinsem...@comcast.net > Sent: Thu, 11 Jun 2015 16:48:40 -0700 > To: k.kowit...@icloud.com > Subject: Re: [R] for loop incorrect row co

Re: [R] Missing Values in Table Statement

2015-06-12 Thread John Kane
If possible always supply data in dput() form. John Kane Kingston ON Canada > Kindly let me know if i need to supply dput data. Thank you!!! FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desk

Re: [R] Leave one out procedure - R

2015-07-06 Thread John Kane
ied enough information, code, and data for people to easily answer your questions. BTW if you are supplying sample data the best way is to use the dput() function. It provides an exact copy of the data set that you are working with. Sorry not to be of any substantive help. John Kane Kingston

Re: [R] add a special column to a matrix

2015-07-07 Thread John Kane
?merge should do it. John Kane Kingston ON Canada > -Original Message- > From: lid.z...@gmail.com > Sent: Tue, 7 Jul 2015 09:42:56 -0500 > To: r-help@r-project.org > Subject: [R] add a special column to a matrix > > Hi there, > > I have a two matrices whic

Re: [R] multiple graphs with a single legend and trellis graph

2015-07-08 Thread John Kane
real guarantee that I will read in a data file the same way as you have. John Kane Kingston ON Canada > -Original Message- > From: rosit...@gmail.com > Sent: Wed, 8 Jul 2015 13:11:34 +0100 > To: djmu...@gmail.com, drjimle...@gmail.com, r-help@r-project.org > Subject: R

Re: [R] Maxent Jarfile

2015-07-08 Thread John Kane
Hi Annemarie, You have sent the email in HTML and it is very close to unreadable. Could you please resubmit the message in plain text. R-help does not accept HTML and, as happened here, the text gets seriously mangled. John Kane Kingston ON Canada > -Original Message- >

Re: [R] Maxent Jarfile

2015-07-09 Thread John Kane
Thanks Annemarie, Things came through okay. I'll defer to the experts on substantive advice. John Kane Kingston ON Canada > -Original Message- > From: annemariefische...@gmail.com > Sent: Thu, 09 Jul 2015 07:25:06 +0200 > To: jrkrid...@inbox.com, annemarie...@hotm

Re: [R] cronbachs alpha and missing values

2015-07-16 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 Currently we don't even know what version of Cronbach's alpha you are using. Also use google as well as help() Try R statistics Cronbach's alp

Re: [R] Displaying Compositional Data With 46 Parts

2015-07-17 Thread John Kane
://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 do this. John Kane Kingston ON Canada > -Original Message- > From: rshep...@appl-ecosys.com > Sent: Fri, 17 Jul 2015 06:16

Re: [R] Displaying Compositional Data With 46 Parts

2015-07-17 Thread John Kane
See in-line John Kane Kingston ON Canada > -Original Message- > From: rshep...@appl-ecosys.com > Sent: Fri, 17 Jul 2015 07:33:43 -0700 (PDT) > To: r-help@r-project.org > Subject: Re: [R] Displaying Compositional Data With 46 Parts > > On Fri, 17 Jul 2015, Joh

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

2015-07-20 Thread John Kane
Hi Rich, I have no idea wha that chunk is not working but I think you can get the same result using the old method Stick the following in an ERT (Insert > Tex Code) <>= opts_chunk$set(echo = FALSE) @ Heck, I've only been using LyX for 4-5 years and already I'm sounding c

Re: [R] [FORGED] change text size on a graphics

2015-07-21 Thread John Kane
Following some of the basic advice in these links can save a lot of time and make answering questions much easier. 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

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

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

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

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] 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] 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] 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] 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] 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] 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] Make 2nd col of 2-col df into header row of same df then adjust col1 data display

2014-12-18 Thread John Kane
ructure(c(1L, 2L, 2L, 2L, 4L, 3L, 3L, 3L, 5L, 5L), .Label = c("as.age", "hs.hours", "ot.overtime", "rk.records_cl", "v.poster_other"), class = "factor")), .Names = c("id", "type"), row.names = c(NA, -10L), class = &q

Re: [R] Make 2nd col of 2-col df into header row of same df then adjust col1 data display

2014-12-19 Thread John Kane
Very pretty. I could have saved myself about 1/2 hour of mucking about if I had thought ot "length". John Kane Kingston ON Canada > -Original Message- > From: sven.temp...@gmail.com > Sent: Fri, 19 Dec 2014 10:13:55 +0100 > To: chl...@mail.usask.ca > Subject:

Re: [R] Calculating mean, median, minimum, and maximum

2014-12-19 Thread John Kane
Hi, It looks like you are replying to some phantom. Is your correspondent actully on R-help? John Kane Kingston ON Canada > -Original Message- > From: mtr...@buffalo.edu > Sent: Fri, 19 Dec 2014 08:08:29 -0800 (PST) > To: r-help@r-project.org > Subject: Re: [R] Calculati

Re: [R] R problem

2015-01-31 Thread John Kane
This post should help http://stackoverflow.com/questions/9216138/find-the-day-of-a-week-in-r John Kane Kingston ON Canada > -Original Message- > From: cami090...@icloud.com > Sent: Sat, 31 Jan 2015 10:06:08 +0100 > To: r-help@r-project.org > Subject: [R] R problem >

Re: [R] ggplot2 shifting bars to only overlap in groups

2015-02-12 Thread John Kane
), direction=gl(2,2,N, c("up","down")), condition=gl(4,4,N, c("c1","c2","c3","c4")), location=gl(2,16,N, c("east","west")), t=rnorm(N, 1, 0.5), ci=abs(rnorm(N, 0, 0.2))) J

Re: [R] horizontal bar plots for CI visualization

2015-02-12 Thread John Kane
And? John Kane Kingston ON Canada > -Original Message- > From: michael.eisenr...@agroscope.admin.ch > Sent: Thu, 12 Feb 2015 13:56:37 + > To: r-help@r-project.org > Subject: [R] horizontal bar plots for C

Re: [R] ggplot2 shifting bars to only overlap in groups

2015-02-12 Thread John Kane
I'm a bit blind today. I read df as a dput() . John Kane Kingston ON Canada -Original Message- From: hyil...@gmail.com Sent: Thu, 12 Feb 2015 23:38:01 +0800 To: jrkrid...@inbox.com Subject: Re: [R] ggplot2 shifting bars to only overlap in groups You are most likely simply not ru

Re: [R] ggplot2 shifting bars to only overlap in groups

2015-02-13 Thread John Kane
rted the data to a dput() file. Not needed as you supplied a perfectly good data set but generally good practice. Sorry I was not able to be of more help John Kane Kingston ON Canada Begin code ## library(ggplot2) library(scales) dat1 <- structure(list(gender = structure

Re: [R] help please >>metro_hastings function

2015-02-14 Thread John Kane
It looks like you posted in HTML and the result are garbbled. ONly post in plain text. Also it might help to read one or both of these https://github.com/hadley/devtools/wiki/Reproducibility http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example John Kane

Re: [R] ggplot2 shifting bars to only overlap in groups

2015-02-14 Thread John Kane
John Kane Kingston ON Canada -Original Message- From: hyil...@gmail.com Sent: Sat, 14 Feb 2015 16:32:03 +0800 To: jrkrid...@inbox.com Subject: Re: [R] ggplot2 shifting bars to only overlap in groups I think maybe it is possible to first produce a blank axis, and then splitting the data

Re: [R] Use of R for Hypothesis Testing

2015-02-14 Thread John Kane
wanted to know and more have a look at Danial Navarro's downloadable stats book at http://health.adelaide.edu.au/psychology/ccs/teaching/lsr/ John Kane Kingston ON Canada > -Original Message- > From: lis...@terpmail.umd.edu > Sent: Fri, 13 Feb 2015 12:17:10 -0500 > To: r-h

Re: [R] info markers from plotgoogMaps

2015-02-15 Thread John Kane
ttps://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: jjanu...@tv3.cat > Sent: Sun, 15 Feb 2015 11:40:39 + > To: r-help@r

Re: [R] Noob question re: writing while loops on one line

2015-02-15 Thread John Kane
Hi Sun, Can you check the code in the one line command in RStudio? I tied it and got the expected error. Or to put it another way, it should not have run for you :) The semi-colon is funtioning as a line return John Kane Kingston ON Canada > -Original Message- > From:

Re: [R] my code in Metro_Hastings

2015-02-15 Thread John Kane
No sign of your code Saral. Probably the best way to send it is a .txt file. That usually gets through. R-help is very fussy about what types of files it lets through John Kane Kingston ON Canada > -Original Message- > From: cute_loo...@hotmail.com > Sent: Sat, 14 Feb 2015

Re: [R] Noob question re: writing while loops on one line

2015-02-15 Thread John Kane
Mea culpa, mea culpa John Kane Kingston ON Canada -Original Message- From: john.archie.mck...@gmail.com Sent: Sun, 15 Feb 2015 10:20:39 -0600 To: murdoch.dun...@gmail.com Subject: Re: [R] Noob question re: writing while loops on one line On Sun, Feb 15, 2015 at 9:54 AM, Duncan Murdoch

Re: [R] ggplot2 shifting bars to only overlap in groups

2015-02-15 Thread John Kane
ew as we had so many data points in only two panels. John Kane Kingston ON Canada ## library(ggplot2) library(scales) dat1$jit <- ifelse( dat1$gender == "male", 1, ifelse( dat1$gender == 'female', 2, NA) ) dat1$jit &

Re: [R] Nonlinear integer programming (again)

2015-02-16 Thread John Kane
You may have good reason to distrust the Excel solver :) See below John Kane Kingston ON Canada > -Original Message- > From: rzw...@ets.org > Sent: Sat, 14 Feb 2015 23:53:55 + > To: r-help@r-project.org > Subject: [R] Nonlinear integer programming (again) > >

Re: [R] Selection/filtering from Data

2015-02-16 Thread John Kane
? subset. You have most of the command already written John Kane Kingston ON Canada > -Original Message- > From: pnsinh...@gmail.com > Sent: Mon, 16 Feb 2015 13:31:33 +0530 > To: r-help@r-project.org > Subject: [R] Selection/filtering from Data > > >From a dat

Re: [R] ggplot2 shifting bars to only overlap in groups

2015-02-16 Thread John Kane
Lovely, a much more elegant solution. John Kane Kingston ON Canada -Original Message- From: hyil...@gmail.com Sent: Mon, 16 Feb 2015 02:30:09 +0800 To: jrkrid...@inbox.com, djmu...@gmail.com Subject: Re: [R] ggplot2 shifting bars to only overlap in groups Thanks so much, John and

Re: [R] ggplot2 shifting bars to only overlap in groups

2015-02-17 Thread John Kane
rkorange"))+   theme_bw()+   scale_y_continuous(breaks=seq(0.6,1.5,0.1)) gg John Kane Kingston ON Canada -Original Message- From: hyil...@gmail.com Sent: Tue, 17 Feb 2015 01:20:06 +0800 To: jrkrid...@inbox.com Subject: Re: [R] ggplot2 shifting bars to only overlap in groups Again,

Re: [R] Change error bar length in barplot2

2015-02-19 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: jmadi...@yahoo.fr > Sent: Tue, 17 Feb 2015 16:46:34 + (UTC) >

Re: [R] Noob: How to upgrade from 3.0.2 on Ubuntu 14.04 LTS?

2015-02-19 Thread John Kane
blogs/the_ubuntu_r_blog/installing-r.html John Kane Kingston ON Canada > -Original Message- > From: bjp...@gmail.com > Sent: Thu, 19 Feb 2015 10:18:04 -0600 > To: r-help@r-project.org > Subject: [R] Noob: How to upgrade from 3.0.2 on Ubuntu 14.04 LTS? > > One of my f

Re: [R] ggplot2 shifting bars to only overlap in groups

2015-02-19 Thread John Kane
that--it's been a long time) John Kane Kingston ON Canada -Original Message- From: hyil...@gmail.com Sent: Wed, 18 Feb 2015 01:40:17 +0800 To: jrkrid...@inbox.com Subject: Re: [R] ggplot2 shifting bars to only overlap in groups The code is the same as the last one I showed, except I u

Re: [R] Averaging column scores when participants vary in number of observations

2015-02-20 Thread John Kane
And just to muddy the waters more here's another way to do it using the handy plyr package where the data.frame is "dat1" library(plyr) ddply(dat1, .(Participant.ID), summarize, mean = mean(Score)) John Kane Kingston ON Canada > -Original Message- > From: js

Re: [R] Raster Help

2015-02-20 Thread John Kane
"Observation", "Participant.ID", "Video.Coder", "Score"), class = "data.frame", row.names = c(NA, -8L)) See these for some hints on asking questions. https://github.com/hadley/devtools/wiki/Reproducibility http://stackoverflow.com/questions/596

Re: [R] graphs

2015-03-13 Thread John Kane
B","B","CCC","AAA","AA","A","BBB","BB","B","CCC","AAA","AA","A","BBB","BB","B","CCC"), default_probability = c(0.0027,0.0029,0.0031,0.003

Re: [R] Course and book announcements on r-help

2015-03-13 Thread John Kane
I have the feeling that this was discussed 3-4 years ago and the overall opinion seems to be that if the course or book was relevant then it was acceptable on an occasional basis. No spamming-type or mass selling posts were. John Kane Kingston ON Canada > -Original Message- >

Re: [R] graphs

2015-03-14 Thread John Kane
lt;- 1:4 dat1 <- data.frame(group= rep(names, each = 3, 4), tt = rep(line, each =12 , 2), xx = rep(xval, 12 ), yy = rnorm(48)) p <- ggplot(dat1, aes(xx, yy, colour = tt)) + geom_line() + facet_grid(. ~ group) p John Kane Kingston ON Canada > -Original Message- &g

Re: [R] How am i able to create Box plots of a factor (weight) separated by other factors (breed)?

2015-03-15 Thread John Kane
favourite breed of Durham. Have a look at one (or both) of these links for some useful suggestions on how to ask questions on R-help. In particular, read about dput. It is by far the best way to supply sample data for the readers. Good luck John Kane Kingston ON Canada > -Ori

Re: [R] Persons with objects –> Objects and persons

2015-03-15 Thread John Kane
https://github.com/hadley/devtools/wiki/Reproducibility http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example http://xkcd.com/1478/ John Kane Kingston ON Canada > -Original Message- > From: mare...@lutonsky.net > Sent: Sat, 14 Mar 2015 15:02

Re: [R] How am i able to create Box plots of a factor (weight) separated by other factors (breed)?

2015-03-15 Thread John Kane
Oops missed the links. Once more... https://github.com/hadley/devtools/wiki/Reproducibility http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example http://xkcd.com/1478/ John Kane Kingston ON Canada > -Original Message- > From: jrkrid...@inbox.com

Re: [R] r help

2015-03-18 Thread John Kane
, hit return and save the file. We might be able to help if we had the file. Otherwise please read https://github.com/hadley/devtools/wiki/Reproducibility and/ or http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example Otherwise please read John Kane Kingston ON C

Re: [R] Why do my posts not get accepted to the mailing list?

2015-03-20 Thread John Kane
Perhaps post directly to the R-help list and don't use nabble? John Kane Kingston ON Canada > -Original Message- > From: andrejfa...@ml1.net > Sent: Thu, 19 Mar 2015 14:26:59 -0400 > To: r-help@r-project.org > Subject: [R] Why do my posts not get accepted

Re: [R] Why can't I access this type?

2015-03-22 Thread John Kane
an the indexing approach. state <- rownames(state.x77) all.states <- as.data.frame(state.x77) all.states <- cbind(state, all.states) ### ? coldstates <- subset(all.states, all.states$Frost > 50, select = c("state","Frost")

Re: [R] Multiple Plots using ggplot

2015-03-31 Thread John Kane
7977758355, 0.439361470235051, 1.2597110753159, -0.795425331570368, 0.974654694801041, -0.309087884123705, -1.55929705211554, 0.147715827800676, -0.542626171203849, 0.745294589678554, -0.254290052908619, 0.939894889209173)), .Names = c("xx", "yy", "zzrnorm.20."), row.name

Re: [R] Plotting using tapply function output

2015-03-31 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: amc5...@gmail.com > Sent: Mon, 30 Mar 2015 16:07:05 -070

Re: [R] Multiple Plots using ggplot

2015-03-31 Thread John Kane
on"), row.names = c(NA, 6L ), class = "data.frame") dd <- subset(dat1, select=c(Date,Start.of.Rain..i.,Start.of.Rain..ii.,Start.of.Rain..iii.)) d2 <- melt(dd , id = 'Date') ggplot(d2, aes(Date,value)) + geom_line(aes(colour = variable)) ggplot(d2, aes(Date, value

Re: [R] data.frame: data-driven column selections that vary by row??

2015-03-31 Thread John Kane
I think we need some data and code 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: r...@catwhisker.org >

Re: [R] Error in dis[sppInSample, sppInSample]:subscript out of bounds

2015-04-02 Thread John Kane
your reply please read carefully about the dput function and supply your data in dput() format. John Kane Kingston ON Canada > -Original Message- > From: marion.how...@hotmail.com > Sent: Thu, 2 Apr 2015 07:04:50 +1000 > To: r-help@r-project.org > Subject: [R] Erro

Re: [R] double-axis labels function of each other

2015-04-03 Thread John Kane
h ESS are some that come to mind. Among other things, they usually offer code highlighting which can be very useful for finding where there are typos, missing commas, and so on. I run Linux (Ubuntu) and find gedit with an R plug-in to be very good also. John Kane Kingston ON Canada > -

Re: [R] command help

2015-04-04 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: ali.alrubaiee1...@gmail.com > Sent: Fri, 3 Apr 2015 14:16

Re: [R] Repeated failures to install "caret" package (of Max Kuhn)

2015-04-04 Thread John Kane
om/questions/5963269/how-to-make-a-great-r-reproducible-example John Kane Kingston ON Canada > -Original Message- > From: wyl...@ischool.utexas.edu > Sent: Fri, 03 Apr 2015 16:07:57 -0500 > To: r-help@r-project.org > Subject: [R] Repeated failures to install "care

Re: [R] Aggregating daily rainfall raster data to bimontly data

2015-04-05 Thread John Kane
nd http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example with special attention to dput() as a method of supplying sample data to the help list. John Kane Kingston ON Canada > -Original Message- > From: johnwas...@gmail.com > Sent: Sun, 5 Apr 2015 11:

Re: [R] stripchart

2015-04-06 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: catalinro...@gmail.com > Sent: Mon, 6 Apr 2015 20:16:39 +

Re: [R] Cannot run install binary package on Windows 8

2015-04-11 Thread John Kane
) You should be good to go. Newbies often miss this step. Good luck with R John Kane Kingston ON Canada > -Original Message- > From: wegor...@gmail.com > Sent: Sat, 11 Apr 2015 19:39:41 +0200 > To: r-help@r-project.org > Subject: [R] Cannot run install binary packa

Re: [R] Can't load CARET package, on Mac OS X (latest), on R version 3.1.2 (2014-10-31)

2015-04-12 Thread John Kane
Can you post the results of a sessionInfo() It looks like you may have an old installation of R John Kane Kingston ON Canada > -Original Message- > From: samarvir1...@gmail.com > Sent: Sun, 12 Apr 2015 14:01:14 +0530 > To: r-help@r-project.org > Subject: [R] Can'

Re: [R] R (3.1.2) sub-setting code related to "NA" on Windows not working!

2015-04-13 Thread John Kane
] FALSE> AirQuality[4,1][1] 1868 Levels: 1 > 10 108 11 110 115 118 12 122 13 135 ... NA> John Kane Kingston ON Canada > -Original Message- > From: sar...@greenhorizon.in > Sent: Mon, 13 Apr 2015 06:33:19 -0700 > To: r-help@r-project.org > Subject: [

Re: [R] friedman.test error: not an unreplicated complete block design

2015-04-13 Thread John Kane
for some hints. In particular, in your case we almost certainly need some data. Please use dput() to produce a useable data set. See Hakley's discussion at http://adv-r.had.co.nz/Reproducibility.html for an example of how to to this. John Kane Kingston ON Canada > -Original M

Re: [R] R studio installation

2015-04-14 Thread John Kane
You probably should go to the RStudio help/blog rather than here. This is not an RStudio list and the expertise is at the RStudoi site. Does R load on its own? What OS are you using? John Kane Kingston ON Canada > -Original Message- > From: sojoodmlk1...@gmail.com > Sent: Tu

Re: [R] Make a Excel chart by R code

2015-04-15 Thread John Kane
John Kane Kingston ON Canada > -Original Message- > From: miao...@gmail.com > Sent: Wed, 15 Apr 2015 11:54:13 +0800 > To: r-help@r-project.org > Subject: [R] Make a Excel chart by R code > > Hi, > >I understand that there're many great graphi

Re: [R] adding a bravais pearson test to spplot

2015-04-15 Thread John Kane
" reproducible example " link for more concrete suggestions. As Jeff has pointed out, this is not likely to be the best place to post. A more specialized group as he suggested is more likely to be able to help. John Kane Kingston ON Canada > -Original Message- >

[R] R installation Ubuntu 10.04 missing dependency

2019-03-02 Thread John Kane
an R issue or an Ubuntu issue? In any case, has anyone encountered the problem and beaten it? Thanks -- John Kane Kingston ON Canada __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLE

Re: [R] R installation Ubuntu 18.04 missing dependency libreadline6

2019-03-03 Thread John Kane
an.r-project.org/bin/linux/ubuntu/README > > Hope this helps, > > Rui Barradas > > > Às 11:20 de 03/03/2019, John Kane via R-help escreveu: > > > > NOTE. This is a re-post of a message of Saturday 2018-03-03 sent with an > > incorrect header. > >

Re: [R] R Coding Help

2019-03-07 Thread John Kane
st -- 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, reproducible code. -- John Kane Kingston ON Canada __

Re: [R] Sankey Diagram

2019-03-07 Thread John Kane
ing-guide.html > and provide commented, minimal, self-contained, reproducible code. -- John Kane Kingston ON Canada __ 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 g

Re: [R] Quantile Density Contours

2019-03-27 Thread John Kane
; 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, reproducible code. -- John Kane Kingston ON Canada __ R-help@r-proj

Re: [R] Analysing diallel and line x tester mating design with multiple location in R

2019-03-28 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-containe

Re: [R] Structuring data for Correspondence Analysis

2019-03-30 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, reproducible code. >

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