Re: [R] legend order in ggplot2

2018-05-27 Thread Tom Hopper
John, The order of legends in ggplot2 depends on the order of factor levels in the data frame. The linetype can be matched to the factor levels using a named vector (ggplot2 basically does a lookup). The biggest problem you have here is that you’re not passing data in the right form or format

Re: [R] Warning when running R - can't install packages either

2016-05-12 Thread Tom Hopper
setInternet2() first thing after launching R might fix that. > On May 12, 2016, at 07:45, Alba Pompeo wrote: > > Hello. > > I've tried to run R, but I receive many warnings and can't do simple > stuff such as installing packages. > > Here's the full log when I run it. > > http://pastebin.com

Re: [R] plotting moving range control chart

2010-01-13 Thread Tom Hopper
I have been having the same problem as poster Hodgess, below. It appears that her question was never answered, so I would like to share a solution with the community. The problem is the (apparent?) inability to produce moving range process behavior (a.k.a. "control") charts with individuals data i

[R] modeest with non-numeric data?

2013-07-26 Thread Tom Hopper
Hello, I have recently discovered the modeest library, and am trying to understand how to use it with non-numeric data (e.g. determining the most common last name, or analysing customer demographics ​by zip code). I have the mlv() function working for numeric (double and integer) data, but it t

[R] Fwd: modeest with non-numeric data?

2013-07-27 Thread Tom Hopper
Hello, (Apologies for the repost, but it appears that the original text was garbled.) I have recently discovered the modeest library, and am trying to understand how to use it with non-numeric data (e.g. determining the most common last name, or analysing customer demographics by zip code). I ha

[R] Replacing a plotting function in a package with a ggplot2 version

2014-03-03 Thread Tom Hopper
d then annotate a label for the line to the right of the plot). This implementation might not be the most elegant or bug-free, but it has passed my testing so far. The code is available on Github at https://github.com/tomhopper/gcc_ggplot/ Best Regards, Tom Hopper signature.asc Description:

Re: [R] When is *interactive* data visualization useful to use?

2011-02-18 Thread Tom Hopper
Tal, One interactive capability that I have repeatedly wished for (but never taken the time to develop with the existing R tools) is the ability to interactively zoom in on and out of a data set, and to interactively create "call-outs of sections of the data. Much of the data that I deal with take

[R] Cloning R Installation Across Multiple Computers

2012-03-02 Thread Tom Hopper
imple step that the users don't have to worry about screwing up. I recall that there has been some discussion of this on r-help in the past, but I seem to be using the wrong search terms as I cannot find anything. Any suggestions for, or pointers to, solutions will be much apprec

Re: [R] Cloning R Installation Across Multiple Computers

2012-03-03 Thread Tom Hopper
Thank you, Duncan. Building an installer package from source might work. On Friday, March 2, 2012, Duncan Murdoch wrote: > On 12-03-02 5:32 AM, Tom Hopper wrote: > > See the Installation and Administration manual, in particular the section (3.1.8, I think) on building the Inno Setup