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] 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] 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] 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] 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 installation Ubuntu 18.04 missing dependency libreadline6

2019-03-03 Thread John Kane via R-help
and customising.  On Sunday, March 3, 2019, 2:08:04 p.m. EST, John Kane wrote: Thanks Ista, Interestingly enough, I have only one repository as far as I can see. I was a bit amazed. I think I have a faulty Ubuntu installation and will have to reinstall. What fun   On Sunday, March 3

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

2019-03-03 Thread John Kane via R-help
Will do. Thanks.  On Sunday, March 3, 2019, 3:59:14 p.m. EST, Ista Zahn wrote: Hi John, This is not the place, but if you post your /etc/apt/sources.list to r-sig-debian I might be able to help you sort it out. Best, Ista On Sun, Mar 3, 2019 at 2:08 PM John Kane wrote: > >

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

2019-03-03 Thread John Kane via R-help
many ppa's to your system, which can lead to package conflicts. Unfortunately in that case it's hard for people to help you remotely, since we don't know what you've done to your system. Best, Ista On Sun, Mar 3, 2019 at 6:20 AM John Kane via R-help wrote: > > >  NO

[R] R installation Ubuntu 18.04 missing dependency libreadline6

2019-03-03 Thread John Kane via R-help
NOTE. This is a re-post of a message of Saturday 2018-03-03 sent with an incorrect header. To upgrade to R.3.5.2 from 3.4.4 I have been following the instructions at https://www.r-bloggers.com/installation-of-r-3-5-on-ubuntu-18-04-lts-and-tips-for-spatial-packages/ . I seem to have the rep

[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] detecting measurement of specific id in column in R

2018-11-28 Thread John Kane via R-help
No attached file. R-help is very fussy about what kind of file it will accept, A txt or pdf is the best bet. On the other hand it usually is best to include any code and sample data in the actual e-mail.  Use the function dput() as the best way to supply data. On Thursday, November 22, 2018

Re: [R] importing .v8x file in R

2018-08-27 Thread John Kane via R-help
A simple google would have let you here SAS Enterprise Guide Implemented at MDACC.It looks like you have a SAS transport file . Check out the SASxport package. It may do what you want. | | | | SAS Enterprise Guide Implemented at MDACC | | | On Thursday, August 23, 2018, 4:39:45

Re: [R] Cant schedule R job using taskscheduleR

2018-08-27 Thread John Kane via R-help
A quick guess it that your version of R is outdated.sessionInfo() R version 3.5.0 package ‘taskscheduleR’ was built under R version 3.5.1 I don't know if that is the source of the error but I'd suggest updating to 3.5.1 as a first step. On Friday, August 24, 2018, 9:12:36 a.m. EDT, Christofer

Re: [R] as.Date() function

2018-08-21 Thread John Kane via R-help
You loaded "lubridate" so using Erin's approach library(lubridate) st <- c("1961-01","1961-04","1983-02") dat1 <- ymd(paste( st, "01",  sep ="-")) On Monday, August 20, 2018, 1:15:56 a.m. EDT, wrote: Thanks Erin and Jim. You have indeed solved my problem. Philip Quoting Erin Hodg

[R] Problem with mean()

2018-07-21 Thread John Kane via R-help
Either I am doing something very stupid or my R installation has a glitch. What am I missing? dd1  <- 50 dd2  <- 54 mean(dd1, dd2) [1] 50  # wrong (dd1 + dd2)/2 [1] 52 # correct aa  <- c(48, 52, 56, 54, 52) mean(aa) [1] 52.4 # correct [[alternative HTML version deleted]] __

Re: [R] xtable does not print out units of a variable

2018-07-19 Thread John Kane via R-help
 I wonder if the problem may be that xtable is not designed to deal with an object of class "object" > dat1 <- data.frame(  x=c(as_units(12,"ft"))) > str(dat1) 'data.frame':    1 obs. of  1 variable:  $ x:Object of class units:  atomic  12   ..- attr(*, "units")=List of 2   .. ..$ numerator  :

Re: [R] How to threshold point in time series

2018-06-08 Thread John Kane via R-help
Homework? On Friday, June 8, 2018, 4:20:40 p.m. EDT, Rama shankar wrote: Hi All, I am having very high-frequency data, captured  between 3 to 7 seconds by sensor for liquid tank and capacity of tank is 50k dm3. When tank capacity reduce to 1k dm3, than tank refilling need to call. How

Re: [R] Plot qualitative y axis

2018-05-23 Thread John Kane via R-help
Hi Pedro, melt() is probably working. The problem is I did not finish the copy and paste.  It would have been better if I had included the ggplot() command. Try == library(reshape2) library(ggplot2) dat1  <- structure(list(N = c("I",

Re: [R] Plot qualitative y axis

2018-05-21 Thread John Kane via R-help
What I think is the ggplot2 version of what you want. Note that I am using the reshape2 package which is a bit old fashioned.  =library(reshape2) library(ggplot2) dat1  <- structure(list(N = c("I", "II", "III", "IV", "V", "VI", "VII",

Re: [R] Loop Function to Create Multiple Scatterplots

2018-05-21 Thread John Kane via R-help
As Jim says, "No data". R-help is very fussy about what files it will accept.  You might try changing the extention to txt.  However the preferred way here is to use the dput() command and paste the results into the post.  See ?dput for details. On Monday, May 21, 2018, 1:40:59 a.m. EDT

Re: [R] Convert a list of $NULL into multiple dataframes

2018-05-18 Thread John Kane via R-help
There must be a simpler and easier way but it's early here and I am only on my first cup of tea. Just but each element into a data frame. Quick and dirty example: dat1  <- list(aa = 1:20, bb  <- data.frame(xx = 1:5, yy = LETTERS[1:5])) dat2 = data.frame(dat1[[1]]) =

Re: [R] (no subject)

2018-05-12 Thread John Kane via R-help
on de Survie L(t)") i need to calculate the probability p(X>V) Le jeudi 10 mai 2018 à 17:15:06 UTC+2, John Kane a écrit : We need some idea of the problem. http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example http://adv-r.had.co.nz/Reproduc

Re: [R] using for loop with data frames.

2018-05-10 Thread John Kane via R-help
Why not just use an rbind() and create one data.frame? On Thursday, May 10, 2018, 10:34:19 a.m. EDT, Marcelo Mariano Silva wrote: Hi, Is it possible use a loop to process many data frames in the same way? For example, if I have three data frames, all with same variables df_bs_id1 <

Re: [R] (no subject)

2018-05-10 Thread John Kane via R-help
We need some idea of the problem. http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example http://adv-r.had.co.nz/Reproducibility.html On Thursday, May 10, 2018, 11:07:30 a.m. EDT, malika yassa via R-help wrote: Hello Do You help me, i have the prob

Re: [R] Specifying forbidden configurations in Morris One at a Time (OAT) sensitivity analysis

2018-04-15 Thread John Kane via R-help
If nothing else, I think you need to supply some sample data that includes examples of the "forbidden configurations" See http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and/or http://adv-r.had.co.nz/Reproducibility.html On Monday, April 9, 2018, 11

Re: [R] Syntax roccomp-using R

2018-04-15 Thread John Kane via R-help
You really should  read the posting guide (link at the bottom of the e-mail) and also read one or both of http://stackoverflow.com/questions/5963269 /how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html As it stands your posts are very close to unreadable.

Re: [R] Portable R in zip file for Windows

2018-01-25 Thread John Kane via R-help
I have not done this is years, but I think that I just installed R on a USB stick and it was fine. But that was probably 10 years ago so things may have changed completely since then. On Wednesday, January 24, 2018, 10:12:09 PM EST, Juan Manuel Truppia wrote: I read a message from 2

Re: [R] R-hts

2018-01-10 Thread John Kane via R-help
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 On Wednesday, January 10, 2018, 11:51:22 AM EST, deva d wrote: dear all, i need some help in structuring my data file for a hierarc

Re: [R] Draw Overlapping Circles with shaded tracks

2017-12-31 Thread John Kane via R-help
That code nees the plotrix package: library(plotrix) pdf("circles.pdf") plot(0:10,type="n",axes=FALSE,xlab="",ylab="") draw.circle(4,5,radius=3,border="#ffaa",lwd=10) draw.circle(6,5,radius=3,border="#ffaa",lwd=10) dev.off() On Friday, December 29, 2017, 6:06:32 PM EST, Jim Lemon

Re: [R] Fw: modified mankendal

2017-11-23 Thread John Kane via R-help
Would you resubmit your question in plain text mode?  This is a plain text list and the HTML gets stripped away. What is left is this Hello DearI used modifiedmk package for trend analyses.this is my script  require(modifiedmk)X1<-read.table("c:/elham/first article/r/Spring_NDVI-1.txt",skip=2,he

Re: [R] adding percentage secondary y-axis

2017-11-23 Thread John Kane via R-help
Actually Petr, I don't see that a secondary y-axis a problem here. If I understand it correctly Eliza is simply presenting the same data against two different scales. We in North America sometimes need to do the same thing when graphing, say  temperature data. We might want degrees Celsius on

Re: [R] Ggplot error

2017-11-08 Thread John Kane via R-help
I get the same result as Eric  withR version 3.4.2 (2017-09-28) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 17.04 It looks like you have "tidyverse" loaded so I tried it with just ggplot2 loaded and with tidyverse loaded.  On Wednesday, November 8, 2017, 4:16:14 AM EST, Eri

Re: [R] Question - TukeyHSD

2017-11-05 Thread John Kane via R-help
I may be missing the point, but if you can do the calculations by hand could you not write a function in R to do the same and apply it to a data.frame of the values? On Saturday, November 4, 2017, 11:01:59 AM EDT, Paul Kent wrote: Hi, I've been performing some TukeyHSD tests in R

Re: [R] error to run this package

2017-10-31 Thread John Kane via R-help
Since we don't know what you were doing when this happened it is a bit difficult to guess. Please supply a minimal set of code that demonstrates what you were doing that gives this error. The output of sessionInfo() would also be useful. Have a look at http://stackoverflow.com/questions/5963269/

Re: [R] Adding non-data line to legend ggplot2 Maximum Contaminant Level

2017-10-05 Thread John Kane via R-help
ck", linetype="dotted", size=0.5) +    ylab("Chloride (mg/L)") ## does the graph using the Location IDs as the different Locations.p + facet_grid(Location ~ .) On Mon, Oct 2, 2017 at 5:09 AM, John Kane wrote: MyData$newvar <- rep(250, nrow(MyData)) Again, I have no

Re: [R] Adding non-data line to legend ggplot2 Maximum Contaminant Level

2017-10-01 Thread John Kane via R-help
I just glanced at the problem but I think you would have to create a new variable to replace the hline. What about adding some text annotation in the graph instead? On Tuesday, September 26, 2017, 3:51:46 PM EDT, David Doyle wrote: Hello everyone, I have a plot showing chloride con

Re: [R] Converting SAS Code

2017-09-30 Thread John Kane via R-help
And appropriatesly > library(fortunes) > fortune() SAS seems to be to statistical computing what Microsoft is to personal computing.    -- Bill Venables   'Exegeses on Linear Models' paper (May 2000) On Saturday, September 30, 2017, 4:57:23 PM EDT, Rolf Turner wrote: On 01/10/17 0

Re: [R] Pull data from Tally 9.1 to R studio

2017-08-24 Thread John Kane via R-help
IIt might help to read the material at one or both of these links http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example Reproducibility · Advanced R. | | | | Reproducibility · Advanced R. | | | On Thursday, August 24, 2017, 6:19:25 AM EDT, John

Re: [R] Pull data from Tally 9.1 to R studio

2017-08-24 Thread John Kane via R-help
On Thursday, August 24, 2017, 1:50:13 AM EDT, David Winsemius wrote: > On Aug 22, 2017, at 11:31 PM, jagan krishnan via R-help > wrote: > > Hi all, > This is Jagan.i have been provided a task of analyzing sales data of a > company in R programming...Just wanted to know,how can I pull Tal

Re: [R] Rounding of problem with sum command in R

2017-08-22 Thread John Kane via R-help
Try options(digits=12) sum(v) BTW I don't get the same value as you did when you calculated manually. On Tuesday, August 22, 2017, 10:39:26 AM EDT, Bert Gunter wrote: ... and following up on Spencer's answer, see the "digits" argument of ?options and ?print.default. Cheers, Bert Bert Gunter

Re: [R] Help Required in looping visuals

2017-08-21 Thread John Kane via R-help
I think we need a lot more information on the problem.  read  the posting guidelines at the bottom of the email & have a look at these links. http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example Reproducibility · Advanced R. | | | | Reproducibility · Advanced

Re: [R] Update data in text file with data in dataframe

2017-08-19 Thread John Kane via R-help
I think we need a bit more info on the data layout and what decision rule you are using to update the Date of Service. Are you just updating a record to provide the most recent DoS or are you correcting errors? Have a look at http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-repro

Re: [R] How to install Tidyverse on Ubuntu 17.04? Getting gcc errors for -fstack-protector-strong and -Wdate-time

2017-08-17 Thread John Kane via R-help
No idea what the problem is but I am running Ubuntu 17.04 with R 3.4.1 and tidyverse seems to be working well. On Thursday, August 17, 2017, 7:10:42 AM EDT, Jocelyn Ireson-Paine via R-help wrote: I'm running Ubuntu 17.04 and R 3.4.1. I installed the latter yesterday, so I presume it's the la

Re: [R] How to convert .Rdata file into .csv or something else?

2017-08-17 Thread John Kane via R-help
Welcome to the forum .Rdata may contain many different objects. I would suggest doing a  "ls()" to see what objects you have. then have a look at ?write.table or ?write.csvThese commands will write many types of objects to a .csv file. For example if I have a data.frame called "dat1" I can write

Re: [R] Problem for installing cbPlatte on R Version 3.4.1

2017-07-12 Thread John Kane via R-help
What is cbplatte? Where do we find it? On Wednesday, July 12, 2017, 6:20:38 AM EDT, Shanu Singh wrote: Please solve the problem. on which R Version works cbplatte? Regards Shanu     [[alternative HTML version deleted]] __ R-help@r-project.org ma

Re: [R] Factor vs character in a data.frame vs vector

2017-07-08 Thread John Kane via R-help
PM EDT, Marc Schwartz wrote: > On Jul 7, 2017, at 7:03 PM, John Kane wrote: > > Thanks Marc. > It never occurred to me that I would need a ""stringsAsFactors" expression in > a data.frame.  I could have sworn I never did before when mocking up some > data but

Re: [R] Factor vs character in a data.frame vs vector

2017-07-07 Thread John Kane via R-help
17, 10:37:29 AM EDT, Marc Schwartz wrote: > On Jul 7, 2017, at 6:03 AM, John Kane via R-help wrote: > > This is not  serious problem but I just wonder if someone can explain what is > happening. > The same command within a dataframe is giving me a factor and as a plain >

[R] Factor vs character in a data.frame vs vector

2017-07-07 Thread John Kane via R-help
This is not  serious problem but I just wonder if someone can explain what is happening. The same command within a dataframe is giving me a factor and as a plain vector is giving me a character.  It's probably something simple that I have read and forgotten but I thought I'd ask. Thanks #==

Re: [R] help regarding r-project

2017-06-08 Thread John Kane via R-help
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example On Thursday, June 8, 2017 6:57 AM, Michael Dewey wrote: I do not think anyone is going to be able to help you unless you can provide a reproducible example with a clear account of what it dies and

Re: [R] Warning from reshape2 when melting a data frame with uneven number of columns.

2017-06-04 Thread John Kane via R-help
I am not really sure what the warning means but I think your underlying problem is that all your variables are factors. Did you intend the values in each variable to be character? data.frame':    3 obs. of  5 variables:  $ V1: Factor w/ 3 levels "Name1","Name2",..: 1 2 3  $ V2: Factor w/ 3 levels

Re: [R] Help on reducing multiple loops

2017-05-18 Thread John Kane via R-help
Data? It's difficult to do anything without some test data.See How to make a great R reproducible example? or http://adv-r.had.co.nz/Reproducibility.html  with particular reference to the use of dput() as the best way to provide sample data. | | | | || | | | | | Ho

Re: [R] Xtable with long column headings/names

2017-05-15 Thread John Kane via R-help
Can you give us an example. I am having a problem visualizing this.  It seems obvious just to put in a line break normally but in xtabs who knows? On Monday, May 15, 2017 1:15 PM, Bruce Ratner PhD wrote: R-help: I'm using xtable that produces a table in html with one-line for each of t

Re: [R] Plotting bar charts by Month

2017-05-13 Thread John Kane via R-help
Could we see some sample data? On Tuesday, May 9, 2017 9:55 PM, Jeff Reichman wrote: r-help Trying to figure out how to plot by month bar charts. The follow code plots the monthly portion on a yearly x-scale.  So I either I create 12 individual month plots or maybe there is some s

Re: [R] Presentation Quality Tables, e.g., Ten rows, Five columns, with nice headers

2017-03-27 Thread John Kane via R-help
If you are working in LaTeX I'd suggest having a look at the R package  xtable with the  LaTeX package booktabs.  On Sunday, March 26, 2017 2:23 PM, MyCalendar wrote: Hi R'ers: After browsing for a good package for quality table construction, I found nothing. Any advice? Thanks Br

Re: [R] Error in leaps.

2017-03-23 Thread John Kane via R-help
Hi Cindy,Welcome to R-help. Have  a look at the posting guidelines and their suggestion about a minimal example. What we  need to help you is some sample data and a "minimal" amount of code that illustrates your problem. Someone may be able to guess the problem from your errror message but I'd n

Re: [R] weird ggplot geom_segment behaviour

2017-03-17 Thread John Kane via R-help
Hi Petr,It "seems" to be linked to the =/- 14 days that you are using for the limits. The code below should  restore one more bar. After that I don't know. p2 <- p+geom_segment(alpha=.4, size=3)+xlim(c(today()-21, today()+21))+   geom_vline(xintercept=as.numeric(today()), colour="pink", size=5)

Re: [R] How these Plots are called? Which package

2017-01-14 Thread John Kane via R-help
No sign of attachment. On Saturday, January 14, 2017 5:42 AM, Alaios via R-help wrote: Hello,how I can try something like that in R (in the attachment I am providing a sketch).Which packages would you try to use?I would like to thank you in advance for your helpRegardsAlex _

Re: [R] gridExtra-arrangeGrob

2017-01-09 Thread John Kane via R-help
I'm not sure what the problem is but, if nothing else, it looks like you need to do library(grid) It may be that an early version of ggplot2 or gridExtra was automatically loading grid and it no longer does.  On Monday, January 9, 2017 1:08 AM, Felipe Carrillo via R-help wrote:  

Re: [R] Urgent Help

2016-12-26 Thread John Kane via R-help
No data or code.  Your attachments did not arrive.  See http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example for some suggestions on how to submit a question with data and sample code.   On Sunday, December 25, 2016 11:50 PM, Bert Gunter wrote: You ar

Re: [R] ggplot aestetics: beginner question - I am lost in endless possibilites

2016-12-15 Thread John Kane via R-help
I cannot see how you get that code to run. It certainly does not on my machine and some of the manipulations don't make any sense as far as I can see. I changed variable and data.frame names so I would not have to type so much and read in the data with the "stringsAsFactors = FALSE" option. I the

Re: [R] data manipulation

2016-12-15 Thread John Kane via R-help
That should read "now" instead of "not" On Thursday, December 15, 2016 6:49 PM, John Kane wrote: It downloaded a file for me earlier but I am not getting the 404 error and I did not bother to save the download.  Shrug. On Wednesday, December 14, 2016 6:57

Re: [R] data manipulation

2016-12-15 Thread John Kane via R-help
It downloaded a file for me earlier but I am not getting the 404 error and I did not bother to save the download.  Shrug. On Wednesday, December 14, 2016 6:57 AM, John Kane via R-help wrote: xx <- read.csv("http://massey.ac.nz/~pscoperwait/ts/cbe.dat";) gives me someth

Re: [R] data manipulation

2016-12-14 Thread John Kane via R-help
xx <- read.csv("http://massey.ac.nz/~pscoperwait/ts/cbe.dat";) gives me something. Since we have no idea of what you are doing I don't know if the data has downloaded correctly On Tuesday, December 13, 2016 1:38 PM, Farshad Fathian wrote: Hi, I couldn't access to data file about PS

Re: [R] (no subject)

2016-12-06 Thread John Kane via R-help
No attachment.  R-help; is very fussy about the type of file it will accept. Try a text document with .txt extention or just put the code and the sample data in the actual email. Use dput(), see ?dput for details, to provide the data. On Tuesday, December 6, 2016 6:51 AM, michael tsagris

Re: [R] Using ggplot2 to plot percentages in bar chart.

2016-12-06 Thread John Kane via R-help
{color:#1F497D;}#yiv4374957155 .yiv4374957155MsoChpDefault {font-size:10.0pt;} _filtered #yiv4374957155 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv4374957155 div.yiv4374957155WordSection1 {}#yiv4374957155 That’s precisely what I’m trying to accomplish.   Shawn Way, PE   From: John Kane [mailto:jrkrid

Re: [R] Using ggplot2 to plot percentages in bar chart.

2016-12-05 Thread John Kane via R-help
I've never seen   stat_bin used like that. What exactly is it supposed to do. It looks like you are trying to label the %ages in each piece of the bar. On Monday, December 5, 2016 2:17 PM, Shawn Way wrote: I have the following data in which I'm trying to summarize in a stacked bar plo

Re: [R] Fw: R problem

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

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

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

Re: [R] Drill down reports in R

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

Re: [R] GGplot annotate by facet

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

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

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

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

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

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

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

Re: [R] Second order stochastic dominance test

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

Re: [R] Unexpected behavior with cbind.ts

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

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

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

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

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

Re: [R] SAS file

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

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

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

Re: [R] Geom_smooth

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

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

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

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

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

Re: [R] Rpart plot produces no text

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

Re: [R] RSTUDIO keeps crashing-please help me

2016-05-19 Thread John Kane
appears to be an RStudio problem you will need to go to the RStudio support. For some general suggestions on how to ask questions here 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

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

2016-04-19 Thread John Kane
Hi Ansley It looks good to me but I did not run the analysis as I am too lazy to install "indicspecies". The inclusion of the raw data is a great help. John Kane Kingston ON Canada -Original Message- From: daily.p...@gmail.com Sent: Tue, 19 Apr 2016 08:16:54 -0400

Re: [R] heatmap2 error key

2016-04-19 Thread John Kane
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: cata...@gmail.com > Sent: Tue, 19 Apr 2016 09:35

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

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

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